Removed StringData

This commit is contained in:
Phil Nash 2017-08-14 09:14:49 +01:00
parent 3772f69f0f
commit 94d347b059
5 changed files with 8 additions and 116 deletions

View file

@ -24,14 +24,13 @@ namespace Catch {
/// threads.
class StringRef {
friend struct StringRefTestAccess;
friend class StringData;
using size_type = size_t;
char const* m_start;
size_type m_size;
StringData const* m_data = nullptr;
char* m_data = nullptr;
void takeOwnership();