diff --git a/ClockReceiver/ClockReceiver.hpp b/ClockReceiver/ClockReceiver.hpp index a5a0b3186..937eb17c0 100644 --- a/ClockReceiver/ClockReceiver.hpp +++ b/ClockReceiver/ClockReceiver.hpp @@ -55,17 +55,17 @@ template class WrappedInt { constexpr WrappedInt(int l) : length_(l) {} constexpr WrappedInt() : length_(0) {} - constexpr T &operator =(const T &rhs) { + T &operator =(const T &rhs) { length_ = rhs.length_; return *this; } - constexpr T &operator +=(const T &rhs) { + T &operator +=(const T &rhs) { length_ += rhs.length_; return *static_cast(this); } - constexpr T &operator -=(const T &rhs) { + T &operator -=(const T &rhs) { length_ -= rhs.length_; return *static_cast(this); }