diff --git a/libluna/include/luna/StaticString.h b/libluna/include/luna/StaticString.h index 7bdf77be..c9d986ff 100644 --- a/libluna/include/luna/StaticString.h +++ b/libluna/include/luna/StaticString.h @@ -11,6 +11,11 @@ template class StaticString adopt(string); } + template StaticString(const StaticString& other) + { + adopt(other.chars()); + } + void adopt(const char* string) { usize length = strlcpy(m_buffer, string, sizeof(m_buffer));