From e22d78ecd6997bc11f8620b759364f119dac431a Mon Sep 17 00:00:00 2001 From: Viste Date: Sun, 1 Dec 2019 15:13:31 +0300 Subject: refactor(Core): rename namespaces and macros to acore (#2454) --- src/common/Database/DatabaseWorkerPool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/Database/DatabaseWorkerPool.cpp') diff --git a/src/common/Database/DatabaseWorkerPool.cpp b/src/common/Database/DatabaseWorkerPool.cpp index cd04214222..53b79d7d37 100644 --- a/src/common/Database/DatabaseWorkerPool.cpp +++ b/src/common/Database/DatabaseWorkerPool.cpp @@ -212,7 +212,7 @@ SQLTransaction DatabaseWorkerPool::BeginTransaction() template void DatabaseWorkerPool::CommitTransaction(SQLTransaction transaction) { - #ifdef TRINITY_DEBUG + #ifdef ACORE_DEBUG //! Only analyze transaction weaknesses in Debug mode. //! Ideally we catch the faults in Debug mode and then correct them, //! so there's no need to waste these CPU cycles in Release mode. @@ -227,7 +227,7 @@ void DatabaseWorkerPool::CommitTransaction(SQLTransaction transaction) default: break; } - #endif // TRINITY_DEBUG + #endif // ACORE_DEBUG Enqueue(new TransactionTask(transaction)); } -- cgit v1.2.3