aboutsummaryrefslogtreecommitdiff
path: root/include/openvic-dataloader/Parser.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-05-13 22:50:54 +0200
committer GitHub <noreply@github.com>2024-05-13 22:50:54 +0200
commita5a6ff376cf0ff8fa48fcd750c16395b099223a4 (patch)
treec0b7aa641b72b5f2650691cba22d17de335622f6 /include/openvic-dataloader/Parser.hpp
parent725310939d2b324d79ea4193a72000e21dcc1a2a (diff)
parent458180da5e61887cd9f820e573f307d0a640128d (diff)
Merge pull request #44 from OpenVicProject/fix/error-handling
Fix bugs in #37
Diffstat (limited to 'include/openvic-dataloader/Parser.hpp')
-rw-r--r--include/openvic-dataloader/Parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvic-dataloader/Parser.hpp b/include/openvic-dataloader/Parser.hpp
index c1f266b..b885f3d 100644
--- a/include/openvic-dataloader/Parser.hpp
+++ b/include/openvic-dataloader/Parser.hpp
@@ -22,6 +22,8 @@ namespace ovdl::detail {
std::string_view get_file_path() const;
protected:
+ void set_file_path(std::string_view path);
+
std::reference_wrapper<std::ostream> _error_stream;
std::string _file_path;
bool _has_fatal_error = false;