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:
Martin Hořeňovský 2019-09-07 20:13:22 +02:00
parent f2c2711bdc
commit fe967b1f41
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
9 changed files with 6 additions and 95 deletions

View file

@ -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