From d9aa889898befb14ea8250d071a90ebce4744009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Mon, 10 Mar 2014 14:01:42 +0100 Subject: [PATCH] Fixed a GCC warning on Unit Test --- tests/Database_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Database_test.cpp b/tests/Database_test.cpp index 844ab1a..6be94fa 100644 --- a/tests/Database_test.cpp +++ b/tests/Database_test.cpp @@ -21,7 +21,8 @@ namespace SQLite /// definition of the assertion handler enabled when SQLITECPP_ENABLE_ASSERT_HANDLER is defined in the project (CMakeList.txt) void assertion_failed(const char* apFile, const long apLine, const char* apFunc, const char* apExpr, const char* apMsg) { - // TODO test + // TODO test that this assertion callback get called + std::cout << "assertion_failed(" << apFile << ", " << apLine << ", " << apFunc << ", " << apExpr << ", " << apMsg << ")\n"; } } #endif