summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index b244d56..273c806 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -477,7 +477,7 @@ void Companion::LoadYAMLRecursively(const std::string &dirPath, std::vector<YAML
}
// Recursive call for subdirectories
- LoadYAMLRecursively(entry.path(), result, false);
+ LoadYAMLRecursively(entry.path().string(), result, false);
} else if (entry.path().extension() == ".yaml" || entry.path().extension() == ".yml") {
// Load YAML file and add it to the result vector
result.push_back(YAML::LoadFile(entry.path().string()));