We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50784ec commit 6faeb3cCopy full SHA for 6faeb3c
include/intx/intx.hpp
@@ -280,14 +280,14 @@ inline constexpr uint128& operator--(uint128& x) noexcept
280
return x = x - 1;
281
}
282
283
-inline constexpr uint128 operator++(uint128& x, int) noexcept
+inline constexpr const uint128 operator++(uint128& x, int) noexcept // NOLINT(*-const-return-type)
284
{
285
const auto ret = x;
286
++x;
287
return ret;
288
289
290
-inline constexpr uint128 operator--(uint128& x, int) noexcept
+inline constexpr const uint128 operator--(uint128& x, int) noexcept // NOLINT(*-const-return-type)
291
292
293
--x;
0 commit comments