aboutsummaryrefslogtreecommitdiff
path: root/CSVParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSVParser.cpp')
-rw-r--r--CSVParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSVParser.cpp b/CSVParser.cpp
index 3fbe804..7d52cd7 100644
--- a/CSVParser.cpp
+++ b/CSVParser.cpp
@@ -15,7 +15,7 @@ CSVParser::CSVParser() {
Parser::register_strategy(this);
}
-unsigned int CSVParser::heuristic(File & f) {
+unsigned int CSVParser::heuristic(FileStrategy & f) {
const string content = f.read();
int global_columns = 0;
int columns = 1;
@@ -41,7 +41,7 @@ static size_t header_idx(vector<string> header, string field) {
return iter - header.begin();
}
-void CSVParser::parse(File & f, Deserializer & d) {
+void CSVParser::parse(FileStrategy & f, Deserializer & d) {
vector<vector<string>> table = {};
istringstream rows(f.read());