aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-10-25 09:37:12 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-10-25 09:49:05 +0300
commit4c066af3b6202bec3d10e5d9519cdedcadf48a09 (patch)
tree1b5ab4eabd434ac12a99d0d2f2b7958b57f84d19 /util
parent6eda6c243d60466bdad66b46cdcbd6293fb4424f (diff)
downloadydb-4c066af3b6202bec3d10e5d9519cdedcadf48a09.tar.gz
Remove static method max_size from TString
commit_hash:c6fad0009855affb407cba47af8ea60ca834a890
Diffstat (limited to 'util')
-rw-r--r--util/generic/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/string.h b/util/generic/string.h
index 46b994bb97..d371ec9ce3 100644
--- a/util/generic/string.h
+++ b/util/generic/string.h
@@ -191,7 +191,7 @@ public:
size_t Size;
};
- static size_t max_size() noexcept {
+ size_t max_size() noexcept {
static size_t res = TStringType().max_size();
return res;