summaryrefslogtreecommitdiff
path: root/boost/iostreams/invert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/invert.hpp')
-rw-r--r--boost/iostreams/invert.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/iostreams/invert.hpp b/boost/iostreams/invert.hpp
index 1d3787e13f..d4a17bf7f3 100644
--- a/boost/iostreams/invert.hpp
+++ b/boost/iostreams/invert.hpp
@@ -73,7 +73,7 @@ public:
{ }
template<typename Source>
- std::streamsize read(Source& src, char* s, std::streamsize n)
+ std::streamsize read(Source& src, char_type* s, std::streamsize n)
{
typedef detail::counted_array_sink<char_type> array_sink;
typedef composite<filter_ref, array_sink> filtered_array_sink;
@@ -101,7 +101,7 @@ public:
}
template<typename Sink>
- std::streamsize write(Sink& dest, const char* s, std::streamsize n)
+ std::streamsize write(Sink& dest, const char_type* s, std::streamsize n)
{
typedef detail::counted_array_source<char_type> array_source;
typedef composite<filter_ref, array_source> filtered_array_source;