Fixed "linked" strings incorrectly marked as "owned" (fixes #1318)

This commit is contained in:
Benoit Blanchon
2020-07-24 22:25:56 +02:00
parent 6dc36125c2
commit 4df29fbac1
9 changed files with 75 additions and 74 deletions

View File

@@ -48,6 +48,8 @@ class StringCopier {
return _ptr;
}
typedef storage_policies::store_by_copy storage_policy;
private:
char* _ptr;
size_t _size;