aboutsummaryrefslogtreecommitdiffstats
path: root/include/jau/cow_darray.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-12-30 13:00:56 +0100
committerSven Gothel <[email protected]>2022-12-30 13:00:56 +0100
commit618b31fc44d6bd37052f32eee47fa3490ef4883e (patch)
treefefe99116a9da99bf40c7856e3a845acb835edd3 /include/jau/cow_darray.hpp
parent2c37436492d7b9b85b755ce8629dce7e41ab67f8 (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.hpp4
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()+
"]");