[cfe-commits] [libcxx] r124431 - /libcxx/trunk/src/strstream.cpp
Howard Hinnant
hhinnant at apple.com
Thu Jan 27 13:01:11 PST 2011
Author: hhinnant
Date: Thu Jan 27 15:01:11 2011
New Revision: 124431
URL: http://llvm.org/viewvc/llvm-project?rev=124431&view=rev
Log:
clang found a missing return statement.
Modified:
libcxx/trunk/src/strstream.cpp
Modified: libcxx/trunk/src/strstream.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/strstream.cpp?rev=124431&r1=124430&r2=124431&view=diff
==============================================================================
--- libcxx/trunk/src/strstream.cpp (original)
+++ libcxx/trunk/src/strstream.cpp Thu Jan 27 15:01:11 2011
@@ -130,6 +130,7 @@
__pfree_ = __rhs.__pfree_;
__rhs.setg(nullptr, nullptr, nullptr);
__rhs.setp(nullptr, nullptr);
+ return *this;
}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
More information about the cfe-commits
mailing list