mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Misc: Fix build using WITH_COREDEBUG
This commit is contained in:
@@ -293,7 +293,7 @@ bool Field::IsNumeric() const
|
||||
|
||||
#ifdef TRINITY_DEBUG
|
||||
|
||||
void Field::LogWrongType(char* getter) const
|
||||
void Field::LogWrongType(char const* getter) const
|
||||
{
|
||||
TC_LOG_WARN("sql.sql", "Warning: %s on %s field %s.%s (%s.%s) at index %u.",
|
||||
getter, meta.Type, meta.TableAlias, meta.Alias, meta.TableName, meta.Name, meta.Index);
|
||||
|
||||
@@ -137,7 +137,7 @@ class TC_DATABASE_API Field
|
||||
|
||||
private:
|
||||
#ifdef TRINITY_DEBUG
|
||||
void LogWrongType(char* getter) const;
|
||||
void LogWrongType(char const* getter) const;
|
||||
void SetMetadata(MySQLField* field, uint32 fieldIndex);
|
||||
Metadata meta;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user