diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-09 22:49:52 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-09 22:50:29 +0200 |
commit | 3d7fbd9b376811ca0ed226fa78bcc8b6279ba8dc (patch) | |
tree | eb36a9b030b263d825eb93638e64deb0dbd38a78 /src/openvic-simulation/dataloader/Dataloader.hpp | |
parent | b4220ad73e14e3b497b2fdeb83d76a6633664764 (diff) |
Format cleanup and req comments
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.hpp')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.hpp b/src/openvic-simulation/dataloader/Dataloader.hpp index 20538a6..efada89 100644 --- a/src/openvic-simulation/dataloader/Dataloader.hpp +++ b/src/openvic-simulation/dataloader/Dataloader.hpp @@ -14,6 +14,7 @@ namespace OpenVic { class Dataloader { public: using path_vector_t = std::vector<fs::path>; + private: path_vector_t roots; @@ -28,10 +29,8 @@ namespace OpenVic { fs::path lookup_file(fs::path const& path) const; static const fs::path TXT; - path_vector_t lookup_files_in_dir(fs::path const& path, - fs::path const* extension = &TXT) const; - bool apply_to_files_in_dir(fs::path const& path, - std::function<bool(fs::path const&)> callback, + path_vector_t lookup_files_in_dir(fs::path const& path, fs::path const* extension = &TXT) const; + bool apply_to_files_in_dir(fs::path const& path, std::function<bool(fs::path const&)> callback, fs::path const* extension = &TXT) const; bool load_defines(GameManager& game_manager) const; |