libluna/StaticString: Rename OSize to OtherSize
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-03-08 16:41:09 +01:00
parent c51b119eb4
commit c376477080
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -11,7 +11,7 @@ template <usize Size> class StaticString
adopt(string);
}
template<usize OSize> StaticString(const StaticString<OSize>& other)
template<usize OtherSize> StaticString(const StaticString<OtherSize>& other)
{
adopt(other.chars());
}
@ -30,9 +30,9 @@ template <usize Size> class StaticString
return *this;
}
template <usize OSize> StaticString<Size>& operator=(const StaticString<OSize>& string)
template <usize OtherSize> StaticString<Size>& operator=(const StaticString<OtherSize>& string)
{
if constexpr (OSize == Size)
if constexpr (OtherSize == Size)
{
if (this == &string) return *this;
}