aboutsummaryrefslogtreecommitdiffstats
path: root/include/jau/octets.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/jau/octets.hpp')
-rw-r--r--include/jau/octets.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jau/octets.hpp b/include/jau/octets.hpp
index ea51847..9e75e7f 100644
--- a/include/jau/octets.hpp
+++ b/include/jau/octets.hpp
@@ -254,12 +254,12 @@ namespace jau {
return std::string( (const char*)(_data+i) );
}
/** Assumes a null terminated string */
- constexpr_cxx20 std::string get_string_nc(const nsize_t i) const noexcept {
+ inline std::string get_string_nc(const nsize_t i) const noexcept {
return std::string( (const char*)(_data+i) );
}
/** Assumes a string with defined length, not necessarily null terminated */
- inline std::string get_string(const nsize_t i, const nsize_t length) const {
+ std::string get_string(const nsize_t i, const nsize_t length) const {
check_range(i, length, E_FILE_LINE);
return std::string( (const char*)(_data+i), length );
}