summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-01-27 21:01:11 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-01-27 21:01:11 +0000
commit80b2905b8322759806746a252f52cbcebb33ea37 (patch)
tree4a27ef39fb1476b3f21c44bdf7215ab51dd7076f
parenteb92df7e9e5abcc9820500fd1c8e13b25d778432 (diff)
downloadbcm5719-llvm-80b2905b8322759806746a252f52cbcebb33ea37.tar.gz
bcm5719-llvm-80b2905b8322759806746a252f52cbcebb33ea37.zip
clang found a missing return statement.
llvm-svn: 124431
-rw-r--r--libcxx/src/strstream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/src/strstream.cpp b/libcxx/src/strstream.cpp
index 8289d0e0122..d0a0ab027bd 100644
--- a/libcxx/src/strstream.cpp
+++ b/libcxx/src/strstream.cpp
@@ -130,6 +130,7 @@ strstreambuf::operator=(strstreambuf&& __rhs)
__pfree_ = __rhs.__pfree_;
__rhs.setg(nullptr, nullptr, nullptr);
__rhs.setp(nullptr, nullptr);
+ return *this;
}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
OpenPOWER on IntegriCloud