summaryrefslogtreecommitdiffstats
path: root/util/folder/path.cpp
diff options
context:
space:
mode:
authortobo <[email protected]>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/folder/path.cpp
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r--util/folder/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp
index bfe0c67d687..1f1f27aedc5 100644
--- a/util/folder/path.cpp
+++ b/util/folder/path.cpp
@@ -17,7 +17,7 @@ struct TFsPath::TSplit: public TAtomicRefCount<TSplit>, public TPathSplit {
void TFsPath::CheckDefined() const {
if (!IsDefined()) {
- ythrow TIoException() << TStringBuf("must be defined");
+ ythrow TIoException() << TStringBuf("must be defined");
}
}
@@ -83,7 +83,7 @@ TFsPath TFsPath::RelativePath(const TFsPath& root) const {
size_t cnt = 0;
while (split.size() > cnt && rsplit.size() > cnt && split[cnt] == rsplit[cnt]) {
- ++cnt;
+ ++cnt;
}
bool absboth = split.IsAbsolute && rsplit.IsAbsolute;
if (cnt == 0 && !absboth) {