diff --git a/deps/ox/src/ox/std/string.hpp b/deps/ox/src/ox/std/string.hpp index 03a8708b..9d452c60 100644 --- a/deps/ox/src/ox/std/string.hpp +++ b/deps/ox/src/ox/std/string.hpp @@ -102,8 +102,6 @@ class BasicString { BasicString &operator=(const char *str) noexcept; - BasicString &operator=(char *str) noexcept; - BasicString &operator=(char c) noexcept; BasicString &operator=(int i) noexcept; @@ -252,7 +250,7 @@ constexpr BasicString::BasicString(const char8_t *str) noexcept } else { m_buff.push_back(0); } - *this = str; + this->operator=(str); } template @@ -282,12 +280,6 @@ BasicString &BasicString::operator=(const char return *this; } -template -BasicString &BasicString::operator=(char *str) noexcept { - *this = const_cast(str); - return *this; -} - template BasicString &BasicString::operator=(char c) noexcept { char str[] = {c, 0};