From ca0e565754c6edb11d60c3f544f82a4cf81f8a4a Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 10 Sep 2024 20:52:56 +0200 Subject: Fixed operator issue --- modules/codec/c++/data.hpp | 4 ++-- 1 file 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& operator+=(const data& rhs)const{ + data& operator+=(const data& rhs){ value_ += rhs.get(); return *this; } - data& operator-=(const data& rhs)const{ + data& operator-=(const data& rhs){ value_ -= rhs.get(); return *this; } -- cgit v1.2.3