From 3429bfacff71a0da92ffb05e964c90dbf26ccac0 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Fri, 12 Jul 2019 10:29:58 -0400 Subject: 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 :) --- src/option_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.3