summaryrefslogtreecommitdiff
path: root/src/option_parser.cc
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2019-07-12 21:35:18 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2019-07-12 21:35:18 -0400
commitf9ca59092e3270106f7fa9e2b4273a9cce30610b (patch)
tree1c58c6f628b768a75950ee3f5e32c07fb840c17a /src/option_parser.cc
parentc9fb34c320a5adbd9649a410b417be70937345ad (diff)
fixing hguh gcc iostream exception
Diffstat (limited to 'src/option_parser.cc')
-rw-r--r--src/option_parser.cc1
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;