Skip to content

Commit 4118243

Browse files
fix
1 parent 67a6289 commit 4118243

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/library/accessor/positive_integer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ui64 TPositiveControlInteger::Sub(const ui64 value) {
2222
return Value;
2323
}
2424

25-
ui64 TPositiveControlInteger::GetDec() {
25+
ui64 TPositiveControlInteger::GetDec() const {
2626
if (Value) {
2727
return Value - 1;
2828
} else {

ydb/library/accessor/positive_integer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TPositiveControlInteger {
2121
ui64 Dec() {
2222
return Sub(1);
2323
}
24-
ui64 GetDec();
24+
ui64 GetDec() const;
2525
ui64 Val() const;
2626
bool operator!() const {
2727
return !Value;

0 commit comments

Comments
 (0)