Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/archive/codecvt_null.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/archive/codecvt_null.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/archive/codecvt_null.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -2,7 +2,7 @@ #define BOOST_ARCHIVE_CODECVT_NULL_HPP // MS compatible compilers support #pragma once -#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#if defined(_MSC_VER) # pragma once #endif @@ -87,6 +87,10 @@ virtual int do_max_length( ) const throw( ){ return do_encoding(); } +public: + explicit codecvt_null(std::size_t no_locale_manage = 0) : + std::codecvt<wchar_t, char, std::mbstate_t>(no_locale_manage) + {} }; } // namespace archive