fixed missing return arg of operator=()
This commit is contained in:
parent
2e2cf02cfd
commit
de35fad88e
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue