mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Fixed compile issue with macro name and C string
This commit is contained in:
parent
060d19bda4
commit
c28ee29250
2 changed files with 2 additions and 2 deletions
|
|
@ -320,7 +320,7 @@ namespace gdpm::cache{
|
|||
char *errmsg = nullptr;
|
||||
std::string sql;
|
||||
|
||||
int rc = sqlite3_open(cache_path, &db);
|
||||
int rc = sqlite3_open(cache_path.c_str(), &db);
|
||||
if(rc != SQLITE_OK){
|
||||
log::error("delete_packages.sqlite3_open(): {}", sqlite3_errmsg(db));
|
||||
sqlite3_close(db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue