From 1205ed37bddb5b1e6f1f04753b06c9b82fbaf22a Mon Sep 17 00:00:00 2001 From: Abhishek Dubey Date: Mon, 8 Mar 2021 17:38:22 +0530 Subject: [PATCH] Fix --> First charecter of every line is being discarded. The BEGIN was not reading the first charecter. --- csvstream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/csvstream.h b/csvstream.h index 6048469..fe982b4 100644 --- a/csvstream.h +++ b/csvstream.h @@ -110,6 +110,7 @@ static bool read_csv_line(std::istream &is, case BEGIN: // We need this state transition to properly handle cases where nothing // is extracted. + data.back() += c; state = UNQUOTED; // Intended switch fallthrough. Beginning with GCC7, this triggers an