diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-01-18 12:44:27 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-01-18 12:45:10 +0000 |
commit | a81d2f1e414836549b909f2de927b6ae10e8b156 (patch) | |
tree | 11eb89ef4add6773c4caeb2b3bf418b2981bbe9e | |
parent | 2e43880dbd4cb9722ae99708c01c399f985dc7c3 (diff) | |
download | gcc-a81d2f1e414836549b909f2de927b6ae10e8b156.zip gcc-a81d2f1e414836549b909f2de927b6ae10e8b156.tar.gz gcc-a81d2f1e414836549b909f2de927b6ae10e8b156.tar.bz2 |
libstdc++: Fix narrow char test to use stringbuf not wstringbuf
This seems to be a copy & paste error.
libstdc++-v3/ChangeLog:
* testsuite/27_io/basic_stringstream/cons/char/1.cc: Use
stringbuf not wstringbuf.
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc index 31130ee..7cb9f34 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc @@ -107,7 +107,7 @@ test04() sstream ss3(std::string(str), std::ios::out, a); VERIFY( ss3.str() == cstr ); VERIFY( bool(ss3 << 1) ); - VERIFY( ss3.get() == std::wstringbuf::traits_type::eof() ); + VERIFY( ss3.get() == std::stringbuf::traits_type::eof() ); } int |