From c376477080c9f15d87d7593f9bfdc25bf3d82407 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 8 Mar 2023 16:41:09 +0100 Subject: [PATCH] libluna/StaticString: Rename OSize to OtherSize --- libluna/include/luna/StaticString.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }