summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec/c++/data.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 371ae71..11d94e6 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -816,7 +816,7 @@ public:
}
template<typename Enc2>
- bool operator==(const data<schema::String, Enc2>& rhs){
+ bool operator==(const data<schema::String, Enc2>& rhs) const {
if(size() != rhs.size()){
return false;
}