diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-09-10 20:52:56 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-09-10 20:52:56 +0200 |
commit | ca0e565754c6edb11d60c3f544f82a4cf81f8a4a (patch) | |
tree | ded22971cded6f70ca2537347bd9d3180269a00c /modules/codec | |
parent | 2dcbc3bd263907a424b68bb3393dfadd8a29f239 (diff) |
Fixed operator issue
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/data.hpp | 4 |
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; } |