api2021 part I #4

Merged
tomasz.sowa merged 67 commits from api2021 into master 2021-05-27 10:37:36 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 6f50626dda - Show all commits

View File

@ -149,9 +149,9 @@ void CSVParser::parse()
if( lastc == -1 )
{
// an empty file/string, in such a case we return such a space struct (if would be serialized to json): [[]]
Space * row_space = new Space();
row_space->set_empty_table();
space->add(row_space);
Space row_space;
row_space.set_empty_table();
space->add(std::move(row_space));
}
while( lastc != -1 )