Skip to content

Commit bb458f0

Browse files
committed
Use std::move
1 parent a6b3cd0 commit bb458f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_statement_get_tables.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void AddTableType(std::string& table_type, std::vector<std::string>& tabl
3434

3535
// Only put the string if the trimmed result is non-empty
3636
if (!trimmed_type.empty()) {
37-
table_types.emplace_back(trimmed_type);
37+
table_types.emplace_back(std::move(trimmed_type));
3838
}
3939
}
4040

0 commit comments

Comments
 (0)