From e2b47c611dac78a9016327f8a0c1451f49ee60dd Mon Sep 17 00:00:00 2001 From: vil02 <65706193+vil02@users.noreply.github.com> Date: Sat, 30 Aug 2025 21:56:27 +0200 Subject: [PATCH] style: resolve `-Wunused-parameter` --- ciphers/uint128_t.hpp | 2 +- ciphers/uint256_t.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ciphers/uint128_t.hpp b/ciphers/uint128_t.hpp index 7abffb08a61..634f7c81425 100644 --- a/ciphers/uint128_t.hpp +++ b/ciphers/uint128_t.hpp @@ -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; } diff --git a/ciphers/uint256_t.hpp b/ciphers/uint256_t.hpp index aef52f10e2d..a7ba49a9096 100644 --- a/ciphers/uint256_t.hpp +++ b/ciphers/uint256_t.hpp @@ -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; }