From e67e60e3d021ed3fb539f7b399ef0912aa3909ca Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Sun, 19 Jun 2005 19:15:43 +0000 Subject: [PATCH] added missing arg to sputbackc [SVN r29687] --- include/boost/iostreams/detail/vc6/read.hpp | 2 +- include/boost/iostreams/read.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/iostreams/detail/vc6/read.hpp b/include/boost/iostreams/detail/vc6/read.hpp index 2a9c235..6e9cddf 100755 --- a/include/boost/iostreams/detail/vc6/read.hpp +++ b/include/boost/iostreams/detail/vc6/read.hpp @@ -144,7 +144,7 @@ struct read_device_impl { { typedef typename char_type_of::type char_type; typedef char_traits traits_type; - return !traits_type::is_eof(t.sputbackc()); + return !traits_type::is_eof(t.sputbackc(c)); } }; }; diff --git a/include/boost/iostreams/read.hpp b/include/boost/iostreams/read.hpp index 590ccd2..8ea2e6e 100755 --- a/include/boost/iostreams/read.hpp +++ b/include/boost/iostreams/read.hpp @@ -158,7 +158,7 @@ struct read_device_impl { { // gcc 2.95 needs namespace qualification for char_traits. typedef typename char_type_of::type char_type; typedef iostreams::char_traits traits_type; - return !traits_type::is_eof(t.sputbackc()); + return !traits_type::is_eof(t.sputbackc(c)); } };