diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/folder/path.cpp | |
parent | 7fe839092527589b38f014d854c51565b3c1adfa (diff) | |
download | ydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r-- | util/folder/path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp index 1f1f27aedc5..bfe0c67d687 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) { |