diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-09-03 20:43:07 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-09-03 20:43:07 +0200 |
commit | 4588ae6ca889306fc5b7c7067540f5eee97ad86f (patch) | |
tree | 9d349c3f1da07b8f7207fd0420dcb6d84caa4007 /include/openvic-dataloader/csv | |
parent | f55e1fc6090854dab49f994c41644a6cd86a5d44 (diff) |
Add csv::Parser.get_lines() implementation
Change csv::Parser.get_lines() return type to const ref vector
Diffstat (limited to 'include/openvic-dataloader/csv')
-rw-r--r-- | include/openvic-dataloader/csv/Parser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvic-dataloader/csv/Parser.hpp b/include/openvic-dataloader/csv/Parser.hpp index 3497864..0bd0670 100644 --- a/include/openvic-dataloader/csv/Parser.hpp +++ b/include/openvic-dataloader/csv/Parser.hpp @@ -24,7 +24,7 @@ namespace ovdl::csv { bool parse_csv(); - const std::vector<csv::LineObject> get_lines() const; + const std::vector<csv::LineObject>& get_lines() const; Parser(Parser&&); Parser& operator=(Parser&&); |