summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-mock.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-03-28 17:56:00 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-03-28 17:56:00 +0000
commitf571f6b2bf1370b0757c29162988a40e02a82f91 (patch)
treedf4662e44ad3bf79a6d829f22a4a4fbc78c5ade4 /libsqlitepp/sqlite-mock.cpp
parentRefactor to ease testing (diff)
downloadlibdbpp-sqlite-1.4.3.tar.bz2
libdbpp-sqlite-1.4.3.tar.xz
libdbpp-sqlite-1.4.3.zip
Fixes for tidylibdbpp-sqlite-1.4.3
Diffstat (limited to 'libsqlitepp/sqlite-mock.cpp')
-rw-r--r--libsqlitepp/sqlite-mock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsqlitepp/sqlite-mock.cpp b/libsqlitepp/sqlite-mock.cpp
index 4a96e35..18f7df8 100644
--- a/libsqlitepp/sqlite-mock.cpp
+++ b/libsqlitepp/sqlite-mock.cpp
@@ -37,7 +37,7 @@ void Mock::DropDatabase() const
void Mock::CreateNewDatabase() const
{
std::filesystem::create_directories(testDbPath.parent_path());
- Mock::openConnection(); // Triggers file creation
+ (void) Mock::openConnection(); // Triggers file creation
}
}