aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/Vic2PathSearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/dataloader/Vic2PathSearch.cpp')
-rw-r--r--src/openvic-simulation/dataloader/Vic2PathSearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/dataloader/Vic2PathSearch.cpp b/src/openvic-simulation/dataloader/Vic2PathSearch.cpp
index a23d0ce..a1a125d 100644
--- a/src/openvic-simulation/dataloader/Vic2PathSearch.cpp
+++ b/src/openvic-simulation/dataloader/Vic2PathSearch.cpp
@@ -206,7 +206,7 @@ static fs::path _search_for_game_path(fs::path hint_path = {}) {
}
return empty_fail_result_callback("Could not parse VDF at '", current_path, "'.");
}
- std::optional current_node = *(parser.get_key_values());
+ std::optional current_node = *parser.get_key_values();
// check "libraryfolders" list
auto it = current_node.value().find("libraryfolders");