Fix bug where the default delimiter would be used for multiline data

This commit is contained in:
ado 2023-07-25 00:36:53 +02:00
parent 6196f7796b
commit 6edce88d79
2 changed files with 4 additions and 3 deletions

View File

@ -194,7 +194,7 @@ private:
//////////////// ////////////////
const split_data& resplit(line_ptr_type new_line, ssize_t new_size, const split_data& resplit(line_ptr_type new_line, ssize_t new_size,
const std::string& delim = default_delimiter) { const std::string& delim) {
return splitter_.resplit(new_line, new_size, delim); return splitter_.resplit(new_line, new_size, delim);
} }

View File

@ -623,7 +623,8 @@ private:
} }
} }
next_line_converter_.resplit(next_line_buffer_, size); next_line_converter_.resplit(next_line_buffer_, size,
delim_);
} }
} }