summaryrefslogtreecommitdiff
path: root/modules/codec/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++')
-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 78fef35..bd4c15b 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -812,6 +812,10 @@ public:
return value_;
}
+ std::string stl_string() const {
+ return value_;
+ }
+
template<typename Enc2>
bool operator==(const data<schema::String, Enc2>& rhs){
if(size() != rhs.size()){