style: resolve -Wunused-parameter (#2990)

This commit is contained in:
Piotr Idzik
2025-09-01 04:23:40 +02:00
committed by GitHub
parent 0bd697db79
commit 35b1bcbe44
2 changed files with 2 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ class uint128_t {
* @brief operator -- (post-decrement)
* @returns decremented value of this
*/
inline uint128_t operator--(int p) {
inline uint128_t operator--(int) {
--*this;
return *this;
}

View File

@@ -319,7 +319,7 @@ class uint256_t {
* @brief operator -- (post-decrement)
* @returns decremented value of this
*/
inline uint256_t operator--(int p) {
inline uint256_t operator--(int) {
--*this;
return *this;
}