aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-10-09 10:24:37 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-10-09 10:36:43 +0300
commit1db0d996fe595d61da8ddef5f4fa54465a82a324 (patch)
treebe96b7cec4bf3528ccc1f9156d6724e38309dc09
parent57c2c368e8792f5de7393cf35fe5afcc766b0607 (diff)
downloadydb-1db0d996fe595d61da8ddef5f4fa54465a82a324.tar.gz
Use lower case for TString methods Data, Size and Empty in security, serp, smart_devices, solomon, sporttech, sprav, statbox, strm, sup, tasklet, taxi, tools, travel, vcs, velocity, voicetech
Если вы считаете, что это pr сломал ваши тесты - смело откатываете.\ Если проблема нетривиальная - приходите в [саппорт](https://nda.ya.ru/t/a1JIzEbo78mtfQ) commit_hash:3c035b6caed36987efe51b5cf2d79e11d4599daa
-rw-r--r--tools/rescompressor/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rescompressor/main.cpp b/tools/rescompressor/main.cpp
index 9aba1002c5..56a32615ed 100644
--- a/tools/rescompressor/main.cpp
+++ b/tools/rescompressor/main.cpp
@@ -81,7 +81,7 @@ static TString CompressPath(const TVector<TStringBuf>& replacements, TStringBuf
TStringBuf from, to;
r.Split('=', from, to);
if (in.StartsWith(from)) {
- return Compress(TString(to) + in.SubStr(from.Size()));
+ return Compress(TString(to) + in.SubStr(from.size()));
}
}
@@ -110,7 +110,7 @@ int main(int argc, char** argv) {
}
while (TStringBuf(argv[ind]).StartsWith("--replace=")) {
- replacements.push_back(TStringBuf(argv[ind]).SubStr(TStringBuf("--replace=").Size()));
+ replacements.push_back(TStringBuf(argv[ind]).SubStr(TStringBuf("--replace=").size()));
ind++;
}