aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/folder/path.cpp')
-rw-r--r--util/folder/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/folder/path.cpp b/util/folder/path.cpp
index 96682b9cbd..bfe0c67d68 100644
--- a/util/folder/path.cpp
+++ b/util/folder/path.cpp
@@ -70,7 +70,7 @@ TFsPath TFsPath::RelativeTo(const TFsPath& root) const {
if (!this->IsSubpathOf(root)) {
ythrow TIoException() << "path " << *this << " is not subpath of " << root;
}
-
+
split.erase(split.begin(), split.begin() + rsplit.size());
split.IsAbsolute = false;