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, 2 insertions, 2 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 01eddb6..f55d870 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -153,12 +153,12 @@ public:
return {get() + rhs.get()};
}
- data<Schema, encode::Native>& operator+=(const data<Schema, encode::Native>& rhs)const{
+ data<Schema, encode::Native>& operator+=(const data<Schema, encode::Native>& rhs){
value_ += rhs.get();
return *this;
}
- data<Schema, encode::Native>& operator-=(const data<Schema, encode::Native>& rhs)const{
+ data<Schema, encode::Native>& operator-=(const data<Schema, encode::Native>& rhs){
value_ -= rhs.get();
return *this;
}