diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2013-11-14 20:01:38 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2013-11-14 20:01:38 +0000 |
commit | 513ecaba91092de7ec0fa52d61de0940923d60d7 (patch) | |
tree | 2abad101f3ab2daff6ce5b57cfc6c643010f9122 /libcxx/include/iomanip | |
parent | 1dbca7018e897633e12ce2ed1a8d217237663827 (diff) | |
download | bcm5719-llvm-513ecaba91092de7ec0fa52d61de0940923d60d7.tar.gz bcm5719-llvm-513ecaba91092de7ec0fa52d61de0940923d60d7.zip |
Fixed bug in quoted strings implementation. Added test to be sure. Thanks to Peter Sommerlad for the report (and suggested fix)
llvm-svn: 194725
Diffstat (limited to 'libcxx/include/iomanip')
-rw-r--r-- | libcxx/include/iomanip | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/include/iomanip b/libcxx/include/iomanip index cdb0d5f0dbf..e334c7de9fd 100644 --- a/libcxx/include/iomanip +++ b/libcxx/include/iomanip @@ -14,6 +14,8 @@ /* iomanip synopsis +namespace std { + // types T1, T2, ... are unspecified implementation types T1 resetiosflags(ios_base::fmtflags mask); T2 setiosflags (ios_base::fmtflags mask); @@ -604,7 +606,7 @@ basic_ostream<_CharT, _Traits>& operator<<( basic_ostream<_CharT, _Traits>& __os, const __quoted_proxy<_CharT, _Traits, _Allocator> & __proxy) { - return __quoted_output (__os, __proxy.string.cbegin (), __proxy.string.cend (), __proxy.__delim, __proxy.__escape); + return __quoted_output (__os, __proxy.__string.cbegin (), __proxy.__string.cend (), __proxy.__delim, __proxy.__escape); } // extractor for non-const basic_string& proxies |