From 1ee5b64accc218c51873f9a5cb92196bf6161f57 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Mon, 1 Jan 2024 03:24:00 -0600 Subject: [PATCH] Update PetComponent.h --- dGame/dComponents/PetComponent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dGame/dComponents/PetComponent.h b/dGame/dComponents/PetComponent.h index f8008231..6c0b0054 100644 --- a/dGame/dComponents/PetComponent.h +++ b/dGame/dComponents/PetComponent.h @@ -114,14 +114,14 @@ public: * @param flag PetFlag(s) to check */ template - inline constexpr bool HasFlag(varArg... flag) { return (m_Flags & (static_cast(flag) | ...)) == (static_cast(flag) | ...); }; + inline const bool HasFlag(varArg... flag) { return (m_Flags & (static_cast(flag) | ...)) == (static_cast(flag) | ...); }; /** * Returns true if the pet has ONLY the specified flag(s) * @param flag PetFlag(s) to check if the pet has exclusively */ template - inline constexpr bool HasOnlyFlag(varArg... flag) { return m_Flags == (static_cast(flag) | ...); }; + inline const bool HasOnlyFlag(varArg... flag) { return m_Flags == (static_cast(flag) | ...); }; /** * Governs the pet update loop