diff --git a/Include/auROXTL/auUTF8StringView.hpp b/Include/auROXTL/auUTF8StringView.hpp index ebcb65b..8f14ebb 100644 --- a/Include/auROXTL/auUTF8StringView.hpp +++ b/Include/auROXTL/auUTF8StringView.hpp @@ -144,7 +144,7 @@ struct AuROString if (count1 == npos) { - return this->pPointer + pos1; + return AuROString {this->pPointer + pos1, this->uLength - pos1 }; } if (pos1 + count1 > this->uLength) @@ -324,11 +324,6 @@ struct AuROString return &this->operator[](0); } - inline constexpr const_pointer c_str() const noexcept - { - return this->data(); - } - inline constexpr size_type max_size() const noexcept { return SIZE_MAX; @@ -629,11 +624,6 @@ struct AuROString return this->data(); } - inline constexpr const_pointer CStr() const noexcept - { - return this->c_str(); - } - inline constexpr size_type MaxSize() const noexcept { return this->max_size(); @@ -1020,7 +1010,7 @@ struct AuRONString if (count1 == npos) { - return this->data() + pos1; + return AuROString {this->data() + pos1, this->size() - pos1 }; } if (pos1 + count1 > this->size())