comments update

This commit is contained in:
VaclavT 2021-07-23 00:02:03 +02:00
parent 5005644d98
commit 513c8da358
3 changed files with 6 additions and 5 deletions

View File

@ -65,6 +65,9 @@
"typeinfo": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"vector": "cpp"
"vector": "cpp",
"thread": "cpp",
"numeric": "cpp",
"stack": "cpp"
}
}

View File

@ -20,10 +20,10 @@ MlValue CsvParser::parseCSV(const std::string &csvSource) {
std::string field;
std::vector<MlValue> parsed_data;
parsed_data.reserve(128);
parsed_data.reserve(128); // TODO introduce constant here
std::vector<MlValue> line;
line.reserve(32);
line.reserve(32); // TODO introduce constant here
std::string::const_iterator aChar = csvSource.begin();
while (aChar != csvSource.end()) {

View File

@ -1,7 +1,6 @@
#pragma once
#include "ml.h"
#include "clib/date.h"
#include <string>
@ -10,7 +9,6 @@
long now();
// TODO temporary solution before format will be implemented
std::string date_to_string(const long datetime, const std::string format);
long string_to_date(const std::string &datestr, const std::string &format);