aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rorescompiler
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /tools/rorescompiler
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'tools/rorescompiler')
-rw-r--r--tools/rorescompiler/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/rorescompiler/main.cpp b/tools/rorescompiler/main.cpp
index 7ca5346e4c..d0db96be15 100644
--- a/tools/rorescompiler/main.cpp
+++ b/tools/rorescompiler/main.cpp
@@ -3,20 +3,20 @@
#include <util/digest/city.h>
#include <util/stream/output.h>
#include <util/stream/file.h>
-#include <util/string/escape.h>
+#include <util/string/escape.h>
#include <util/string/vector.h>
#include <util/string/split.h>
using namespace NResource;
void GenOne(const TString& raw, const TString& key, IOutputStream& out) {
- TString size = raw + "Size";
- TString name = ToString(CityHash64(key.data(), key.size()));
- out << "extern \"C\" const char " << raw << "[];\n"
- << "extern \"C\" const unsigned int " << size << ";\n"
- << "static const NResource::TRegHelper REG_name" << name
- << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n"
- << "\n";
+ TString size = raw + "Size";
+ TString name = ToString(CityHash64(key.data(), key.size()));
+ out << "extern \"C\" const char " << raw << "[];\n"
+ << "extern \"C\" const unsigned int " << size << ";\n"
+ << "static const NResource::TRegHelper REG_name" << name
+ << "(\"" << EscapeC(key) << "\", TStringBuf(" << raw << ", " << size << "));\n"
+ << "\n";
};
int main(int argc, char** argv) {