From 1c83894db9deeea32418089e2ffd0c5d3af85b8b Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Mon, 11 Dec 2017 12:23:26 +0000 Subject: [PATCH] Replace NULL with nullptr in header files Fixes Clang 5.0 "-Wzero-as-null-pointer-constant" errors --- include/SQLiteCpp/Database.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SQLiteCpp/Database.h b/include/SQLiteCpp/Database.h index e31f545..cf327e1 100644 --- a/include/SQLiteCpp/Database.h +++ b/include/SQLiteCpp/Database.h @@ -63,7 +63,7 @@ public: Database(const char* apFilename, const int aFlags = SQLITE_OPEN_READONLY, const int aBusyTimeoutMs = 0, - const char* apVfs = NULL); + const char* apVfs = nullptr); /** * @brief Open the provided database UTF-8 filename.