updated build system
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
@ -31,7 +31,11 @@ using db_types_t = std::variant<std::int64_t, std::string>;
|
||||
struct sqlite3_deleter {
|
||||
void operator()(sqlite3 *db3) const {
|
||||
if (db3 != nullptr) {
|
||||
#if defined(_WIN32)
|
||||
sqlite3_close(db3);
|
||||
#else // !defined(_WIN32)
|
||||
sqlite3_close_v2(db3);
|
||||
#endif // defined(_WIN32)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user