More nopch build fixes

(cherry picked from commit a4328a92e9)
This commit is contained in:
Shauren
2025-04-06 14:29:54 +02:00
committed by Ovahlord
parent 27b40d587f
commit e8a5b17e5d
3 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
#define TRINITY_UNITAI_H
#include "Errors.h"
#include "Hash.h"
#include "ObjectGuid.h"
#include "SharedDefines.h"
#include "SpellDefines.h"

View File

@@ -924,7 +924,7 @@ namespace UF
return !!_value;
}
operator bool const() const
operator bool() const
{
return has_value();
}

View File

@@ -21,6 +21,7 @@
#include "Common.h"
#include "DatabaseEnvFwd.h"
#include "EnumFlag.h"
#include "Hash.h"
#include "LootItemType.h"
#include "Optional.h"
#include "RaceMask.h"