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
commitc22320e8c4f3d7be38c504706f137034e91d31e6 (patch)
tree35cc6c382a1bd8cb932449ffa734056fcc73e6d4 /util/system/src_root.h
parent93e9e4639b6ee2afbdf45cf3927cea6d340e19b0 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 4f2d9f5ee6c..702522d0621 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;
}