diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-03-12 13:02:46 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-03-12 13:04:53 +0000 |
| commit | f2b8b1ae2b259036adad26ccdadcc96ab1749db5 (patch) | |
| tree | 18b47717a680e9e7d38f059aaf01ac63e82841fe /src/string.hh | |
| parent | 348e23dd8aa20cfe1957f30804f93f50ffd22e7b (diff) | |
Fix compilation on clang
Diffstat (limited to 'src/string.hh')
| -rw-r--r-- | src/string.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.hh b/src/string.hh index 1f622101..fba20f15 100644 --- a/src/string.hh +++ b/src/string.hh @@ -106,7 +106,7 @@ public: using Content = std::basic_string<char, std::char_traits<char>, Allocator<char, MemoryDomain::String>>; - String() = default; + String() {} String(const char* content) : m_data(content) {} explicit String(char content, CharCount count = 1) : m_data((size_t)(int)count, content) {} explicit String(Codepoint cp, CharCount count = 1) |
