aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/src_location.cpp
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/src_location.cpp
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/src_location.cpp')
-rw-r--r--util/system/src_location.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/system/src_location.cpp b/util/system/src_location.cpp
index def480add9..13ff1f24b3 100644
--- a/util/system/src_location.cpp
+++ b/util/system/src_location.cpp
@@ -2,16 +2,16 @@
#include <util/stream/output.h>
-#include <algorithm>
-
+#include <algorithm>
+
template <>
void Out<TSourceLocation>(IOutputStream& o, const TSourceLocation& t) {
-#if defined(_win_)
+#if defined(_win_)
TString file(t.File);
- std::replace(file.begin(), file.vend(), '\\', '/');
- o << file;
-#else
- o << t.File;
-#endif
- o << ':' << t.Line;
+ std::replace(file.begin(), file.vend(), '\\', '/');
+ o << file;
+#else
+ o << t.File;
+#endif
+ o << ':' << t.Line;
}