From 3f68d0f1cdd00b5064c8ccbb60a59f5875b7d766 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Thu, 23 Jul 2020 11:32:20 -0400 Subject: [PATCH] Fix inverted assertion condition --- src/DBConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DBConnection.cpp b/src/DBConnection.cpp index fe24a4617..bc5a5de98 100644 --- a/src/DBConnection.cpp +++ b/src/DBConnection.cpp @@ -300,7 +300,7 @@ int DBConnection::CheckpointHook(void *data, sqlite3 *db, const char *schema, in ConnectionPtr::~ConnectionPtr() { - wxASSERT_MSG(mpConnection, wxT("Project file was not closed at shutdown")); + wxASSERT_MSG(!mpConnection, wxT("Project file was not closed at shutdown")); } static const AudacityProject::AttachedObjects::RegisteredFactory