summaryrefslogtreecommitdiff
path: root/zen/file_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/file_path.cpp')
-rw-r--r--zen/file_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/file_path.cpp b/zen/file_path.cpp
index f5c207f3..912d5a37 100644
--- a/zen/file_path.cpp
+++ b/zen/file_path.cpp
@@ -70,7 +70,7 @@ std::optional<Zstring> zen::getParentFolderPath(const Zstring& itemPath)
return appendPath(pc->rootPath, beforeLast(pc->relPath, FILE_NAME_SEPARATOR, IfNotFoundReturn::none));
}
- assert(false);
+ assert(itemPath.empty());
return std::nullopt;
}
bgstack15