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 --- src/openvic-dataloader/csv/Parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/openvic-dataloader') diff --git a/src/openvic-dataloader/csv/Parser.cpp b/src/openvic-dataloader/csv/Parser.cpp index 8a99085..45f3142 100644 --- a/src/openvic-dataloader/csv/Parser.cpp +++ b/src/openvic-dataloader/csv/Parser.cpp @@ -148,4 +148,8 @@ bool Parser::parse_csv() { } _lines = std::move(_buffer_handler->get_lines()); return true; +} + +const std::vector& Parser::get_lines() const { + return _lines; } \ No newline at end of file -- cgit v1.2.3-56-ga3b1