Skip to content

Commit 76a62c1

Browse files
committed
Fix warning push/pop mismatch.
Fixes #5869. [SVN r75064]
1 parent 540e300 commit 76a62c1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

include/boost/program_options/parsers.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ namespace boost { namespace program_options {
260260

261261
}}
262262

263+
#if defined(BOOST_MSVC)
264+
# pragma warning (pop)
265+
#endif
266+
263267
#undef DECL
264268

265269
#include "boost/program_options/detail/parsers.hpp"

include/boost/program_options/variables_map.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,8 @@ namespace boost { namespace program_options {
211211

212212
}}
213213

214+
#if defined(BOOST_MSVC)
215+
# pragma warning (pop)
216+
#endif
217+
214218
#endif

0 commit comments

Comments
 (0)