aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/Dataloader.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-12-05 16:47:39 +0100
committer GitHub <noreply@github.com>2023-12-05 16:47:39 +0100
commitdb00dcfb8c72448fea73e752e1f5c18047738876 (patch)
tree2e7a76f9e2067d20f1eb6894970b97e472b7a83b /src/openvic-simulation/dataloader/Dataloader.hpp
parent471d0c80ac0b62d7e5e538ccd921bf7c5c014307 (diff)
parent7019dccc90711ae9ad1a8f97933c3703bb32e542 (diff)
Merge pull request #84 from OpenVicProject/move/vic2-path-search
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.hpp')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.hpp b/src/openvic-simulation/dataloader/Dataloader.hpp
index a2e377b..4c305b5 100644
--- a/src/openvic-simulation/dataloader/Dataloader.hpp
+++ b/src/openvic-simulation/dataloader/Dataloader.hpp
@@ -108,16 +108,5 @@ namespace OpenVic {
bool load_localisation_files(
localisation_callback_t callback, std::string_view localisation_dir = "localisation"
) const;
-
- private:
- struct fshash {
- size_t operator()(const std::filesystem::path& p) const noexcept {
- return std::filesystem::hash_value(p);
- }
- };
-
- using hint_path_t = fs::path;
- using game_path_t = fs::path;
- static inline std::unordered_map<hint_path_t, game_path_t, fshash> _cached_paths;
};
}