small gcc and msvc8 corrections

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@219 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-08-27 12:47:16 +00:00
parent db227c1822
commit 0f678b97e2

View file

@ -530,7 +530,7 @@ private:
InputIterator b, InputIterator e, Selector<0>) InputIterator b, InputIterator e, Selector<0>)
{ {
InsertImpl(i, b, e, InsertImpl(i, b, e,
std::iterator_traits<InputIterator>::iterator_category()); typename std::iterator_traits<InputIterator>::iterator_category());
return *this; return *this;
} }
@ -776,7 +776,7 @@ private:
InputIterator b, InputIterator e, Selector<0>) InputIterator b, InputIterator e, Selector<0>)
{ {
ReplaceImpl(i1, i2, b, e, ReplaceImpl(i1, i2, b, e,
std::iterator_traits<InputIterator>::iterator_category()); typename std::iterator_traits<InputIterator>::iterator_category());
return *this; return *this;
} }
@ -1269,6 +1269,6 @@ getline(
template <typename E1, class T, class A, class S> template <typename E1, class T, class A, class S>
const typename flex_string<E1, T, A, S>::size_type const typename flex_string<E1, T, A, S>::size_type
flex_string<E1, T, A, S>::npos = (flex_string<E1, T, A, S>::size_type)(-1); flex_string<E1, T, A, S>::npos = (typename flex_string<E1, T, A, S>::size_type)(-1);
#endif // FLEX_STRING_SHELL_INC_ #endif // FLEX_STRING_SHELL_INC_