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
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/system/src_location.cpp
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 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 13ff1f24b3..def480add9 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;
}