diff --git a/include/loki/flex/flex_string_shell.h b/include/loki/flex/flex_string_shell.h index 88a4f04..96a9fe5 100755 --- a/include/loki/flex/flex_string_shell.h +++ b/include/loki/flex/flex_string_shell.h @@ -530,7 +530,7 @@ private: InputIterator b, InputIterator e, Selector<0>) { InsertImpl(i, b, e, - std::iterator_traits::iterator_category()); + typename std::iterator_traits::iterator_category()); return *this; } @@ -776,7 +776,7 @@ private: InputIterator b, InputIterator e, Selector<0>) { ReplaceImpl(i1, i2, b, e, - std::iterator_traits::iterator_category()); + typename std::iterator_traits::iterator_category()); return *this; } @@ -1276,6 +1276,6 @@ getline( template const typename flex_string::size_type -flex_string::npos = (flex_string::size_type)(-1); +flex_string::npos = (typename flex_string::size_type)(-1); #endif // FLEX_STRING_SHELL_INC_