From 1c2472b8d7410241660049e696cbd3cf8c2a270c Mon Sep 17 00:00:00 2001 From: Isaac Dupree Date: Mon, 16 Nov 2015 18:01:20 -0500 Subject: [PATCH] fix syntax with BOOST_NO_EXCEPTIONS --- src/variables_map.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/variables_map.cpp b/src/variables_map.cpp index b52ef43..bc85f7e 100644 --- a/src/variables_map.cpp +++ b/src/variables_map.cpp @@ -42,7 +42,9 @@ namespace boost { namespace program_options { string option_name; string original_token; +#ifndef BOOST_NO_EXCEPTIONS try +#endif { // First, convert/store all given options