commit | 1dc6f7ab975323ba3aca9bcfc884a15a7aac7834 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 13 02:03:45 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 13 02:03:45 2012 +0000 |
tree | 3a868f137aca521fac9c68f18eefb604d926f8a9 | |
parent | 75536baae747cc5e2202285e416ef037a70cd156 [diff] [blame] |
Don't neglect to "return *this". git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@165860 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/fstream b/include/fstream index 7b6578f..1b8e7a0 100644 --- a/include/fstream +++ b/include/fstream
@@ -344,6 +344,7 @@ { close(); swap(__rhs); + return *this; } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES