Skip to content

Commit

Permalink
make_shared -> make_shared_ptr
Browse files Browse the repository at this point in the history
define depricated api
  • Loading branch information
maiadegraaf committed Jun 26, 2024
1 parent 1970a81 commit b69ef85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/duckdb_odbc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct OdbcHandleEnv : public OdbcHandle {
OdbcHandleEnv() : OdbcHandle(OdbcHandleType::ENV) {
duckdb::DBConfig ODBC_CONFIG;
ODBC_CONFIG.SetOptionByName("duckdb_api", "odbc");
db = make_shared<DuckDB>(nullptr, &ODBC_CONFIG);
db = make_shared_ptr<DuckDB>(nullptr, &ODBC_CONFIG);
};

shared_ptr<DuckDB> db;
Expand Down

0 comments on commit b69ef85

Please sign in to comment.