diff options
author | AlexSm <[email protected]> | 2023-12-22 17:10:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-22 17:10:22 +0100 |
commit | 148f920350c60c0ca2d89b637a5aea9093eee450 (patch) | |
tree | 6314b1433dac833398c333731e83f0ad77e81a0b /contrib/restricted/boost/program_options/src/value_semantic.cpp | |
parent | 7116d46ae7c0259b5f9d489de263f8701e432b1c (diff) |
Library import 2 (#639)
Diffstat (limited to 'contrib/restricted/boost/program_options/src/value_semantic.cpp')
-rw-r--r-- | contrib/restricted/boost/program_options/src/value_semantic.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/restricted/boost/program_options/src/value_semantic.cpp b/contrib/restricted/boost/program_options/src/value_semantic.cpp index a7366d43865..de7b2ace843 100644 --- a/contrib/restricted/boost/program_options/src/value_semantic.cpp +++ b/contrib/restricted/boost/program_options/src/value_semantic.cpp @@ -3,7 +3,9 @@ // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) -#define BOOST_PROGRAM_OPTIONS_SOURCE +#ifndef BOOST_PROGRAM_OPTIONS_SOURCE +# define BOOST_PROGRAM_OPTIONS_SOURCE +#endif #include <boost/program_options/config.hpp> #include <boost/program_options/value_semantic.hpp> #include <boost/program_options/detail/convert.hpp> @@ -258,7 +260,7 @@ namespace boost { namespace program_options { } - const char* error_with_option_name::what() const throw() + const char* error_with_option_name::what() const BOOST_NOEXCEPT_OR_NOTHROW { // will substitute tokens each time what is run() substitute_placeholders(m_error_template); |