another bit of refactoring

This commit is contained in:
2021-07-12 21:25:31 +02:00
parent 5e4480c767
commit eebfaacde4
10 changed files with 70 additions and 101 deletions

View File

@@ -43,7 +43,7 @@ namespace usql {
m_columns[col_index] = std::make_unique<ColFloatValue>(value);
}
void Row::setColumnValue(int col_index, std::string value) {
void Row::setColumnValue(int col_index, const std::string &value) {
m_columns[col_index] = std::make_unique<ColStringValue>(value);
};