From 25772e7d5a8680f72a079e7b4fbe4a049378602d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 4 Jul 2020 15:04:31 +0200 Subject: [PATCH] Remove constexpr from non-constexpr function. --- src/String/StringView.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/String/StringView.hpp b/src/String/StringView.hpp index 5a71272..e3a58c5 100644 --- a/src/String/StringView.hpp +++ b/src/String/StringView.hpp @@ -67,7 +67,7 @@ namespace ArbUt { return *this; } - [[nodiscard]] inline constexpr const char* c_str() const noexcept override { return _str->GetValue(); } + [[nodiscard]] inline const char* c_str() const noexcept override { return _str->GetValue(); } [[nodiscard]] inline std::string_view std_str() const noexcept override { return _str->GetValue(); } inline constexpr bool operator==(const std::string_view& rhs) const noexcept override {