summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec/c++/data.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 79a6ab8..4dd1fd3 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -921,6 +921,10 @@ public:
std::string_view stl_view() {
return value_;
}
+
+ const std::string_view stl_view() const {
+ return value_;
+ }
std::string stl_string() const {
return value_;