From ef6fac6b71a6a665fa4070d6596764cbde01002a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Fri, 1 Nov 2013 23:48:46 +0100 Subject: [PATCH] Complete the documentation of the assertion handler for issue #7 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c50a5be..049ff33 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,8 @@ catch (std::exception& e) ### How to handle in assertion in SQLiteC++: Exceptions shall not be used in destructors, so SQLiteC++ use SQLITECPP_ASSERT() to check for errors in destructors. -If you don't want assert() to be called, you have to enable and define an assert handler as shown below. +If you don't want assert() to be called, you have to enable and define an assert handler as shown below, +and by setting the flag SQLITECPP_ENABLE_ASSERT_HANDLER when compiling the lib. ```C++ #ifdef SQLITECPP_ENABLE_ASSERT_HANDLER