Commit de35fad8 by Francois Chabot

fixed missing return arg of operator=()

parent 2e2cf02c
...@@ -103,6 +103,7 @@ class input_stream_adapter ...@@ -103,6 +103,7 @@ class input_stream_adapter
sb = rhs.sb; sb = rhs.sb;
rhs.is = nullptr; rhs.is = nullptr;
rhs.sb = nullptr; rhs.sb = nullptr;
return *this;
} }
// std::istream/std::streambuf use std::char_traits<char>::to_int_type, to // std::istream/std::streambuf use std::char_traits<char>::to_int_type, to
......
...@@ -3966,6 +3966,7 @@ class input_stream_adapter ...@@ -3966,6 +3966,7 @@ class input_stream_adapter
sb = rhs.sb; sb = rhs.sb;
rhs.is = nullptr; rhs.is = nullptr;
rhs.sb = nullptr; rhs.sb = nullptr;
return *this;
} }
// std::istream/std::streambuf use std::char_traits<char>::to_int_type, to // std::istream/std::streambuf use std::char_traits<char>::to_int_type, to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment