diff --git a/include/boost/algorithm/string/detail/classification.hpp b/include/boost/algorithm/string/detail/classification.hpp index f32b9ab..f750229 100644 --- a/include/boost/algorithm/string/detail/classification.hpp +++ b/include/boost/algorithm/string/detail/classification.hpp @@ -16,6 +16,7 @@ #include #include #include +#include namespace boost { namespace algorithm { @@ -81,7 +82,9 @@ namespace boost { } private: - std::set m_Set; + // set cannot operate on const value-type + typedef typename remove_const::type set_value_type; + std::set m_Set; }; // is_from_range functor