summaryrefslogtreecommitdiffstats
path: root/util/system/src_root.h
diff options
context:
space:
mode:
authorrnefyodov <[email protected]>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:17 +0300
commitc753751b693cf7c481c0292912e2b7536fa6d36a (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/system/src_root.h
parentc22320e8c4f3d7be38c504706f137034e91d31e6 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/src_root.h')
-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 702522d0621..4f2d9f5ee6c 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;
}