Commit 4004b7b7 authored by Axel Auweter's avatar Axel Auweter
Browse files

Speed up CVS import by quicker creation of DCDBTimeStamp objects.

parent 75cd26c3
......@@ -126,7 +126,7 @@ int main(int argc, char** argv)
while (std::getline(fs, s)) {
int col = 0;
lineno++;
DCDB::TimeStamp ts;
DCDB::TimeStamp ts(0ull);
boost::tokenizer<boost::escaped_list_separator<char> > tk(s, boost::escaped_list_separator<char>('\\', ',', '\"'));
for (boost::tokenizer<boost::escaped_list_separator<char> >::iterator i=tk.begin(); i!=tk.end();++i)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment