refactor(Core): remove unused imports (#9969)
This commit is contained in:
parent
715b98a45e
commit
b748730bc8
22 changed files with 1 additions and 26 deletions
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include "DatabaseWorkerPool.h"
|
||||
#include "AdhocStatement.h"
|
||||
#include "Common.h"
|
||||
#include "Errors.h"
|
||||
#include "Implementation/CharacterDatabase.h"
|
||||
#include "Implementation/LoginDatabase.h"
|
||||
|
|
@ -175,7 +174,7 @@ bool DatabaseWorkerPool<T>::PrepareStatements()
|
|||
uint32 const paramCount = stmt->GetParameterCount();
|
||||
|
||||
// TC only supports uint8 indices.
|
||||
ASSERT(paramCount < std::numeric_limits<uint8>::max());
|
||||
ASSERT(paramCount < (std::numeric_limits<uint8>::max)());
|
||||
|
||||
_preparedStatementSize[i] = static_cast<uint8>(paramCount);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue