Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 committed Jan 8, 2025
1 parent 67a6289 commit 4118243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/library/accessor/positive_integer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ui64 TPositiveControlInteger::Sub(const ui64 value) {
return Value;
}

ui64 TPositiveControlInteger::GetDec() {
ui64 TPositiveControlInteger::GetDec() const {
if (Value) {
return Value - 1;
} else {
Expand Down
2 changes: 1 addition & 1 deletion ydb/library/accessor/positive_integer.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TPositiveControlInteger {
ui64 Dec() {
return Sub(1);
}
ui64 GetDec();
ui64 GetDec() const;
ui64 Val() const;
bool operator!() const {
return !Value;
Expand Down

0 comments on commit 4118243

Please sign in to comment.