diff options
| author | Mahmoud Khairy A. Abdallah <[email protected]> | 2019-07-12 21:35:18 -0400 |
|---|---|---|
| committer | Mahmoud Khairy A. Abdallah <[email protected]> | 2019-07-12 21:35:18 -0400 |
| commit | f9ca59092e3270106f7fa9e2b4273a9cce30610b (patch) | |
| tree | 1c58c6f628b768a75950ee3f5e32c07fb840c17a | |
| parent | c9fb34c320a5adbd9649a410b417be70937345ad (diff) | |
fixing hguh gcc iostream exception
| -rw-r--r-- | src/option_parser.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/option_parser.cc b/src/option_parser.cc index 4fa2343..497316f 100644 --- a/src/option_parser.cc +++ b/src/option_parser.cc @@ -101,6 +101,7 @@ public: try { ss >> m_variable; } catch (stringstream::failure &e) { + } catch (exception &e) { return false; } m_isParsed = true; |
