Don't qualify string_view in the available() test's pos/count append() case

Reason: Using the basic_string_view type used by the library.

This fixes the previous commit.
This commit is contained in:
Gennaro Prota
2026-04-24 07:05:02 +02:00
parent 8c44a96c8d
commit 2ff9d3535e
+1 -1
View File
@@ -1007,7 +1007,7 @@ testCapacity()
// Intended use with the pos/count-taking overloads.
{
static_string<5> s("ab");
s.append(std::string_view{"xyzwv"}, 0, s.available());
s.append(string_view{"xyzwv"}, 0, s.available());
BOOST_TEST(s == "abxyz");
BOOST_TEST(s.available() == 0);
}