From 6f99ebecc383133be4f96c2eb8fb359743864a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20L=C3=B6hr?= Date: Wed, 6 Nov 2024 17:28:25 +0100 Subject: [PATCH] Fix folder path (#1170) --- components/filesystem/src/legacy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filesystem/src/legacy.cpp b/components/filesystem/src/legacy.cpp index 728aed930..c8e276882 100644 --- a/components/filesystem/src/legacy.cpp +++ b/components/filesystem/src/legacy.cpp @@ -99,7 +99,7 @@ void create_path(const std::string &root, const std::string &path) for (auto it = path.begin(); it != path.end(); ++it) { it = std::find(it, path.end(), '/'); - create_directory(root + std::string(path.begin(), it)); + create_directory(root + '/' + std::string(path.begin(), it)); } }