diff options
| author | tgrogers <[email protected]> | 2019-07-12 10:29:58 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2019-07-12 10:29:58 -0400 |
| commit | 3429bfacff71a0da92ffb05e964c90dbf26ccac0 (patch) | |
| tree | 198be16da576116ed8905a44037fa5cc2061a638 /src/option_parser.cc | |
| parent | 47d18d2dea9a27061193218f1e70ba50cf7ff46f (diff) | |
Newer gcc's seem to throw a variety of exceptions and it is killing the parser. Let's just eat them all for now - it seems to work :)
Diffstat (limited to 'src/option_parser.cc')
| -rw-r--r-- | src/option_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_parser.cc b/src/option_parser.cc index 4fa2343..7d747f0 100644 --- a/src/option_parser.cc +++ b/src/option_parser.cc @@ -100,7 +100,7 @@ public: } try { ss >> m_variable; - } catch (stringstream::failure &e) { + } catch (exception &e) { return false; } m_isParsed = true; |
