mirror of
https://github.com/boostorg/static_string.git
synced 2026-08-25 14:23:18 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user