Skip to content

Commit a7d7adb

Browse files
committed
Fix function signature
1 parent 0e59e24 commit a7d7adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/detail/emulated128.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ constexpr auto operator+(const int128& lhs, const int128& rhs) noexcept -> int12
13591359
}
13601360
}
13611361

1362-
constexpr auto operator-(const int128& lhs, int128& rhs) noexcept -> int128
1362+
constexpr auto operator-(const int128& lhs, const int128& rhs) noexcept -> int128
13631363
{
13641364
const auto new_low {lhs.low - rhs.low};
13651365
const auto new_high {lhs.high - rhs.high - static_cast<std::int64_t>(lhs.low < rhs.low)};

0 commit comments

Comments
 (0)