Fix build error in Formats/ISchemaReader.cpp

This commit is contained in:
Vladimir C 2022-03-25 11:30:25 +01:00 committed by GitHub
parent 1823cac89d
commit ae92963b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ IRowSchemaReader::IRowSchemaReader(
{
std::string col_name_trimmed = column_names[i];
boost::trim(col_name_trimmed);
if (!col_name.empty())
if (!col_name_trimmed.empty())
column_names[i] = col_name_trimmed;
}
}