aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-11-06 09:43:33 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-11-06 09:55:58 +0300
commit6c3456e031c02cece9a774db8150adf1485f94ad (patch)
tree8da06430b11b34c111ad47118da65c954c005904 /util
parent9c2fb2d10e3855cb69704333fe62efbe9d47ad93 (diff)
downloadydb-6c3456e031c02cece9a774db8150adf1485f94ad.tar.gz
Remove methods Data, Size, Empty from TString
If this pr has broken something, try using the methods named with a small letter \[nodiff:caesar\] commit_hash:c08a737938cff39577c6e47d4434531f6355e4c2
Diffstat (limited to 'util')
-rw-r--r--util/generic/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/generic/string.h b/util/generic/string.h
index d371ec9ce3..fa7d055adc 100644
--- a/util/generic/string.h
+++ b/util/generic/string.h
@@ -1197,6 +1197,10 @@ public:
bool to_upper(size_t pos = 0, size_t n = TBase::npos);
bool to_title(size_t pos = 0, size_t n = TBase::npos);
+ constexpr const TCharType* Data() const noexcept = delete;
+ constexpr size_t Size() noexcept = delete;
+ Y_PURE_FUNCTION constexpr bool Empty() const noexcept = delete;
+
public:
/**
* Modifies the substring of length `n` starting from `pos`, applying `f` to each position and symbol.