aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorrnefyodov <rnefyodov@yandex-team.ru>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:17 +0300
commitc753751b693cf7c481c0292912e2b7536fa6d36a (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system
parentc22320e8c4f3d7be38c504706f137034e91d31e6 (diff)
downloadydb-c753751b693cf7c481c0292912e2b7536fa6d36a.tar.gz
Restoring authorship annotation for <rnefyodov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/src_root.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/src_root.h b/util/system/src_root.h
index 702522d062..4f2d9f5ee6 100644
--- a/util/system/src_root.h
+++ b/util/system/src_root.h
@@ -1,8 +1,8 @@
#pragma once
-#include "compiler.h"
+#include "compiler.h"
#include "defaults.h"
-
+
#include <type_traits>
namespace NPrivate {
@@ -48,10 +48,10 @@ namespace NPrivate {
constexpr unsigned RootPrefixLength(const TStaticBuf& f) noexcept {
if (IsProperPrefix(ArcRoot, f)) {
return ArcRoot.Len + 1;
- }
+ }
if (IsProperPrefix(BuildRoot, f)) {
return BuildRoot.Len + 1;
- }
+ }
return 0;
}