diff --git a/include/boost/iostreams/detail/vc6/operations.hpp b/include/boost/iostreams/detail/vc6/operations.hpp index bdf5d38..2e2052b 100755 --- a/include/boost/iostreams/detail/vc6/operations.hpp +++ b/include/boost/iostreams/detail/vc6/operations.hpp @@ -65,7 +65,7 @@ read(T& t, Source& src, typename io_char::type* s, std::streamsize n) template void putback(T& t, typename io_char::type c) -{ return detail::read_impl::putback(detail::unwrap(t), c); } +{ detail::read_impl::putback(detail::unwrap(t), c); } template void put(T& t, typename io_char::type c) diff --git a/include/boost/iostreams/operations.hpp b/include/boost/iostreams/operations.hpp index da7cd61..3bbeac0 100755 --- a/include/boost/iostreams/operations.hpp +++ b/include/boost/iostreams/operations.hpp @@ -61,7 +61,7 @@ read(T& t, Source& src, typename io_char::type* s, std::streamsize n) template void putback(T& t, typename io_char::type c) -{ return detail::read_impl::putback(detail::unwrap(t), c); } +{ detail::read_impl::putback(detail::unwrap(t), c); } template void put(T& t, typename io_char::type c)