mirror of
https://github.com/catchorg/Catch2.git
synced 2026-05-04 11:44:20 +02:00
Remove the ill-considered StringRef::numberOfCharacters
It never counted characters, only codepoints. If you think these are interchangeable, you should not touch non-ascii text.
This commit is contained in:
@@ -96,7 +96,6 @@ namespace Catch {
|
||||
return m_size;
|
||||
}
|
||||
|
||||
auto numberOfCharacters() const noexcept -> size_type;
|
||||
auto c_str() const -> char const*;
|
||||
|
||||
public: // substrings and searches
|
||||
|
||||
Reference in New Issue
Block a user