diff --git a/libluna/include/luna/StaticString.h b/libluna/include/luna/StaticString.h index c9d986ff..54846b6d 100644 --- a/libluna/include/luna/StaticString.h +++ b/libluna/include/luna/StaticString.h @@ -11,7 +11,7 @@ template class StaticString adopt(string); } - template StaticString(const StaticString& other) + template StaticString(const StaticString& other) { adopt(other.chars()); } @@ -30,9 +30,9 @@ template class StaticString return *this; } - template StaticString& operator=(const StaticString& string) + template StaticString& operator=(const StaticString& string) { - if constexpr (OSize == Size) + if constexpr (OtherSize == Size) { if (this == &string) return *this; }