mirror of
https://github.com/boostorg/iostreams.git
synced 2026-02-27 05:02:29 +00:00
added missing arg to sputbackc
[SVN r29687]
This commit is contained in:
@@ -144,7 +144,7 @@ struct read_device_impl<streambuf_tag> {
|
||||
{
|
||||
typedef typename char_type_of<T>::type char_type;
|
||||
typedef char_traits<char_type> traits_type;
|
||||
return !traits_type::is_eof(t.sputbackc());
|
||||
return !traits_type::is_eof(t.sputbackc(c));
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -158,7 +158,7 @@ struct read_device_impl<streambuf_tag> {
|
||||
{ // 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());
|
||||
return !traits_type::is_eof(t.sputbackc(c));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user