File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.5)
22
33# Set extension name here
44set (TARGET_NAME adbc_scanner)
5+ set (CMAKE_CXX_STANDARD 20)
6+ set (CMAKE_CXX_STANDARD_REQUIRED ON )
7+ set (CMAKE_CXX_EXTENSIONS OFF )
58
69find_package (tomlplusplus REQUIRED)
710find_package (AdbcDriverManager CONFIG REQUIRED)
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ struct AdbcExecuteBindData : public FunctionData {
505505 copy->params = params;
506506 copy->param_types = param_types;
507507 copy->has_params = has_params;
508- return copy;
508+ return std::move ( copy) ;
509509 }
510510
511511 bool Equals (const FunctionData &other_p) const override {
@@ -518,7 +518,7 @@ struct AdbcExecuteBindData : public FunctionData {
518518static unique_ptr<FunctionData> AdbcExecuteBind (ClientContext &context, ScalarFunction &bound_function,
519519 vector<unique_ptr<Expression>> &arguments) {
520520 auto bind_data = make_uniq<AdbcExecuteBindData>();
521- return bind_data;
521+ return std::move ( bind_data) ;
522522}
523523
524524// Helper to execute a single DDL/DML statement and return rows affected
You can’t perform that action at this time.
0 commit comments