aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/build_info/sandbox.cpp.in
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /library/cpp/build_info/sandbox.cpp.in
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/build_info/sandbox.cpp.in')
-rw-r--r--library/cpp/build_info/sandbox.cpp.in50
1 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/build_info/sandbox.cpp.in b/library/cpp/build_info/sandbox.cpp.in
index 071268c197..ac3b2d9004 100644
--- a/library/cpp/build_info/sandbox.cpp.in
+++ b/library/cpp/build_info/sandbox.cpp.in
@@ -1,27 +1,27 @@
#include <library/cpp/build_info/sandbox.h>
#include <library/cpp/string_utils/base64/base64.h>
-#include <util/generic/string.h>
-#include <util/string/subst.h>
-
-extern "C" const char* GetSandboxTaskId() {
- return "@SANDBOX_TASK_ID@";
-}
-
-class TKosherVersionHolder {
-public:
- const char* Version() const {
- if (!Version_) {
- TString version = "@KOSHER_SVN_VERSION@";
- SubstGlobal(version, ".", "=");
- Version_ = Base64Decode(version);
- }
- return Version_.c_str();
- }
-private:
- mutable TString Version_;
-};
-
-// Experimental code for RMDEV-365
-extern "C" const char* GetKosherSvnVersion() {
- return Singleton<TKosherVersionHolder>()->Version();
-}
+#include <util/generic/string.h>
+#include <util/string/subst.h>
+
+extern "C" const char* GetSandboxTaskId() {
+ return "@SANDBOX_TASK_ID@";
+}
+
+class TKosherVersionHolder {
+public:
+ const char* Version() const {
+ if (!Version_) {
+ TString version = "@KOSHER_SVN_VERSION@";
+ SubstGlobal(version, ".", "=");
+ Version_ = Base64Decode(version);
+ }
+ return Version_.c_str();
+ }
+private:
+ mutable TString Version_;
+};
+
+// Experimental code for RMDEV-365
+extern "C" const char* GetKosherSvnVersion() {
+ return Singleton<TKosherVersionHolder>()->Version();
+}