Browse Source

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
mikhnenko 5 months ago
parent
commit
1db0d996fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/rescompressor/main.cpp

+ 2 - 2
tools/rescompressor/main.cpp

@@ -81,7 +81,7 @@ static TString CompressPath(const TVector<TStringBuf>& replacements, TStringBuf
         TStringBuf from, to;
         TStringBuf from, to;
         r.Split('=', from, to);
         r.Split('=', from, to);
         if (in.StartsWith(from)) {
         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=")) {
     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++;
         ind++;
     }
     }