From 4588ae6ca889306fc5b7c7067540f5eee97ad86f Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Sun, 3 Sep 2023 14:43:07 -0400 Subject: Add csv::Parser.get_lines() implementation Change csv::Parser.get_lines() return type to const ref vector --- include/openvic-dataloader/csv/Parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/openvic-dataloader/csv/Parser.hpp') 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 get_lines() const; + const std::vector& get_lines() const; Parser(Parser&&); Parser& operator=(Parser&&); -- cgit v1.2.3-56-ga3b1