diff options
Diffstat (limited to 'include/fstream')
-rw-r--r-- | include/fstream | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fstream b/include/fstream index 7b6578f1e..1b8e7a0a5 100644 --- a/include/fstream +++ b/include/fstream @@ -344,6 +344,7 @@ basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs) { close(); swap(__rhs); + return *this; } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES |