summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.hh b/src/string.hh
index 01e91b62..0ed1dc75 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -169,9 +169,9 @@ public:
using Alloc = Allocator<char, MemoryDomain::String>;
Data() { set_empty(); }
- Data(NoCopy, const char* data, size_t size) : u{Long{const_cast<char*>(data),
+ Data(NoCopy, const char* data, size_t size) : u{Long{const_cast<char*>(data),
size,
- /*capacity=*/0,
+ /*capacity=*/0,
/*mode=*/Long::active_mask}} {}
Data(const char* data, size_t size, size_t capacity);