This commit is contained in:
Scott E. Graves 2024-10-17 14:41:01 -05:00
parent 68e3f6fc00
commit f0fe0a1962

View File

@ -31,7 +31,7 @@ using db_types_t = std::variant<std::int64_t, std::string>;
struct sqlite3_deleter { struct sqlite3_deleter {
void operator()(sqlite3 *db3) const { void operator()(sqlite3 *db3) const {
if (db3 != nullptr) { if (db3 != nullptr) {
sqlite3_close_v2(db3); sqlite3_close(db3);
} }
} }
}; };