diff --git a/math/fp.hpp b/math/fp.hpp index 7b5b6eb..7969aa7 100644 --- a/math/fp.hpp +++ b/math/fp.hpp @@ -41,7 +41,7 @@ struct fp return value >> 16; } - constexpr inline fp operator-() + constexpr inline fp operator-() const { return fp(-value, fp_raw_tag{}); }