summaryrefslogtreecommitdiff
path: root/boost/archive/codecvt_null.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/archive/codecvt_null.hpp')
-rw-r--r--boost/archive/codecvt_null.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/archive/codecvt_null.hpp b/boost/archive/codecvt_null.hpp
index caeefee..75387a9 100644
--- a/boost/archive/codecvt_null.hpp
+++ b/boost/archive/codecvt_null.hpp
@@ -87,6 +87,10 @@ class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
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