mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
fixed missing return arg of operator=()
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user