Fix crash when passing wrong arguments.

THROW() did not actually throw in exception-enabled builds, silly
oversight.
This commit is contained in:
Hans-Kristian Arntzen 2017-02-16 11:06:57 +01:00
parent b72feb557c
commit c92b839ecb

View File

@ -43,7 +43,7 @@ using namespace std;
exit(1); \
} while (0)
#else
#define THROW(x) runtime_error(x)
#define THROW(x) throw runtime_error(x)
#endif
struct CLIParser;