diff --git a/api/str.hpp b/api/str.hpp index 1ca10267c..766fca4ae 100644 --- a/api/str.hpp +++ b/api/str.hpp @@ -146,12 +146,12 @@ namespace jule return this->buffer.empty(); } - constexpr operator char *(void) const noexcept + operator char *(void) const noexcept { return const_cast(reinterpret_cast(this->buffer.c_str())); } - constexpr operator const char *(void) const noexcept + operator const char *(void) const noexcept { return reinterpret_cast(this->buffer.c_str()); }