mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Database: Fix some warnings on gcc
* warning: when initialized here [-Wreorder] * thanks to @Vincent-Michael
This commit is contained in:
@@ -58,7 +58,7 @@ class DatabaseWorkerPool
|
||||
|
||||
public:
|
||||
/* Activity state */
|
||||
DatabaseWorkerPool() : _connectionInfo(nullptr), _queue(new ProducerConsumerQueue<SQLOperation*>()),
|
||||
DatabaseWorkerPool() : _queue(new ProducerConsumerQueue<SQLOperation*>()),
|
||||
_async_threads(0), _synch_threads(0)
|
||||
{
|
||||
memset(_connectionCount, 0, sizeof(_connectionCount));
|
||||
|
||||
Reference in New Issue
Block a user