From a81d2f1e414836549b909f2de927b6ae10e8b156 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 18 Jan 2021 12:44:27 +0000 Subject: [PATCH] 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. --- libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 31130ee5c95..7cb9f34ca04 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 -- 2.30.2