diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-01-12 23:37:51 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-01-12 23:37:51 +0000 |
commit | c37917f3099480d8f5c75310543e35695ecf522f (patch) | |
tree | 403f50ec8eaa255fb8d1c2ab776f3aefc5f73bda /libcxx/include/ostream | |
parent | 43f1834fad7fb2847b0faef2a5cd7f6489844218 (diff) | |
download | bcm5719-llvm-c37917f3099480d8f5c75310543e35695ecf522f.tar.gz bcm5719-llvm-c37917f3099480d8f5c75310543e35695ecf522f.zip |
Fix http://llvm.org/bugs/show_bug.cgi?id=11752
llvm-svn: 148069
Diffstat (limited to 'libcxx/include/ostream')
-rw-r--r-- | libcxx/include/ostream | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/ostream b/libcxx/include/ostream index b38326e452e..c4e6b38b515 100644 --- a/libcxx/include/ostream +++ b/libcxx/include/ostream @@ -1218,12 +1218,12 @@ typename enable_if < !is_lvalue_reference<_Stream>::value && is_base_of<ios_base, _Stream>::value, - _Stream& + _Stream&& >::type operator<<(_Stream&& __os, const _Tp& __x) { __os << __x; - return __os; + return _VSTD::move(__os); } #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES |