|
Boost Users : |
From: Takeshi Mouri (takeshi.mouri.net_at_[hidden])
Date: 2005-06-19 11:03:25
Hello,
I found a trivial mistake in boost/iostreams/read.hpp
of current CVS HEAD version.
So, I report it.
Thanks
Takeshi Mouri
*** read.hpp.orig Mon May 30 16:30:27 2005
--- read.hpp Sun Jun 19 23:42:40 2005
***************
*** 158,164 ****
{ // gcc 2.95 needs namespace qualification for char_traits.
typedef typename char_type_of<T>::type char_type;
typedef iostreams::char_traits<char_type> traits_type;
! return !traits_type::is_eof(t.sputbackc());
}
};
--- 158,164 ----
{ // gcc 2.95 needs namespace qualification for char_traits.
typedef typename char_type_of<T>::type char_type;
typedef iostreams::char_traits<char_type> traits_type;
! return !traits_type::is_eof(t.sputbackc(c));
}
};
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net