aboutsummaryrefslogtreecommitdiffstats
path: root/include/jau/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/darray.hpp
parent2c37436492d7b9b85b755ce8629dce7e41ab67f8 (diff)
C++20: Remove `constexpr_cxx20` from toString() methods not using constexpr or literals
Diffstat (limited to 'include/jau/darray.hpp')
-rw-r--r--include/jau/darray.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jau/darray.hpp b/include/jau/darray.hpp
index ba87937..f87d1a3 100644
--- a/include/jau/darray.hpp
+++ b/include/jau/darray.hpp
@@ -1316,7 +1316,7 @@ In copy constructor ‘std::__shared_count<_Lp>::__shared_count(const std::__sha
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) {
@@ -1327,7 +1327,7 @@ In copy constructor ‘std::__shared_count<_Lp>::__shared_count(const std::__sha
return res;
}
- constexpr_cxx20 std::string get_info() const noexcept {
+ std::string get_info() const noexcept {
difference_type cap_ = (storage_end_-begin_);
difference_type size_ = (end_-begin_);
std::string res("darray[this "+jau::to_hexstring(this)+