empty clear mixup

This commit is contained in:
Gábor Poczkodi 2024-11-10 07:11:12 +01:00
parent dcf0516ffc
commit 4b7e4bfbf3

View file

@ -109,7 +109,7 @@ bool RowDecompressor::get_row(std::string &row) {
if (this->is_eof() && this->yaml_.size() > 0) {
// no new line at the end of the file
row = this->yaml_;
this->yaml_.empty();
this->yaml_.clear();
return true;
}