From 4547b3507a19045853af27a17719a23ad834f7a9 Mon Sep 17 00:00:00 2001 From: MatheusrdSantos Date: Sun, 26 May 2019 22:06:05 -0300 Subject: [PATCH] Static separator was changed to class attribute separator --- CSVparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSVparser.cpp b/CSVparser.cpp index 18bc084..51ddd28 100644 --- a/CSVparser.cpp +++ b/CSVparser.cpp @@ -82,7 +82,7 @@ namespace csv { { if (it->at(i) == '"') quoted = ((quoted) ? (false) : (true)); - else if (it->at(i) == ',' && !quoted) + else if (it->at(i) == _sep && !quoted) { row->push(it->substr(tokenStart, i - tokenStart)); tokenStart = i + 1;