Skip to content

Commit 1c2472b

Browse files
idupreevprus
authored andcommitted
fix syntax with BOOST_NO_EXCEPTIONS
1 parent 1f9413f commit 1c2472b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/variables_map.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ namespace boost { namespace program_options {
4242
string option_name;
4343
string original_token;
4444

45+
#ifndef BOOST_NO_EXCEPTIONS
4546
try
47+
#endif
4648
{
4749

4850
// First, convert/store all given options

0 commit comments

Comments
 (0)