diff options
author | Sven Gothel <[email protected]> | 2022-12-30 13:00:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-12-30 13:00:56 +0100 |
commit | 618b31fc44d6bd37052f32eee47fa3490ef4883e (patch) | |
tree | fefe99116a9da99bf40c7856e3a845acb835edd3 /include/jau/cow_darray.hpp | |
parent | 2c37436492d7b9b85b755ce8629dce7e41ab67f8 (diff) |
C++20: Remove `constexpr_cxx20` from toString() methods not using constexpr or literals
Diffstat (limited to 'include/jau/cow_darray.hpp')
-rw-r--r-- | include/jau/cow_darray.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jau/cow_darray.hpp b/include/jau/cow_darray.hpp index be1cb35..5ace90f 100644 --- a/include/jau/cow_darray.hpp +++ b/include/jau/cow_darray.hpp @@ -1072,7 +1072,7 @@ namespace jau { return count; } - constexpr_cxx20 std::string toString() const noexcept { + std::string toString() const noexcept { std::string res("{ " + std::to_string( size() ) + ": "); int i=0; jau::for_each_const(*this, [&res, &i](const value_type & e) { @@ -1083,7 +1083,7 @@ namespace jau { return res; } - constexpr_cxx20 std::string get_info() const noexcept { + std::string get_info() const noexcept { return ("cow_darray[this "+jau::to_hexstring(this)+ ", "+store_ref->get_info()+ "]"); |