Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35b1bcb

Browse files
authored
style: resolve -Wunused-parameter (TheAlgorithms#2990)
1 parent 0bd697d commit 35b1bcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎ciphers/uint128_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class uint128_t {
350350
* @brief operator -- (post-decrement)
351351
* @returns decremented value of this
352352
*/
353-
inline uint128_t operator--(int p) {
353+
inline uint128_t operator--(int) {
354354
--*this;
355355
return *this;
356356
}

‎ciphers/uint256_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class uint256_t {
319319
* @brief operator -- (post-decrement)
320320
* @returns decremented value of this
321321
*/
322-
inline uint256_t operator--(int p) {
322+
inline uint256_t operator--(int) {
323323
--*this;
324324
return *this;
325325
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /