diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-04-08 18:17:09 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-04-08 18:17:09 -0600 |
| commit | 74b0c120290083a5e3571a43deada72781af072b (patch) | |
| tree | 6b2cbabec81d87086b0267088a80f720e50ebb62 /src/Companion.cpp | |
| parent | 058ca2568973777781860b06f406d6904656b57c (diff) | |
Fixed windows compilation
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 2 |
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())); |
