Include stdbool because AppleClang is weird

This commit is contained in:
Phillip Stephens 2020-04-16 13:43:23 -07:00
parent dea8438f19
commit d16e758f07
2 changed files with 8 additions and 5 deletions

View File

@ -1,10 +1,11 @@
#pragma once #pragma once
#include "../../DNACommon/Tweaks/ITweakPlayerRes.hpp" #include "DataSpec/DNACommon/Tweaks/ITweakPlayerRes.hpp"
// FIXME: Remove this include when it's in the DNA headers
#include <stdbool.h>
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
template <int NewRep> template <bool NewRep>
struct AT_SPECIALIZE_PARMS(true, false) CTweakPlayerRes final : ITweakPlayerRes { struct AT_SPECIALIZE_PARMS(true, false) CTweakPlayerRes final : ITweakPlayerRes {
AT_DECL_DNA_YAML AT_DECL_DNA_YAML

View File

@ -1,9 +1,11 @@
#pragma once #pragma once
#include "../../DNACommon/Tweaks/ITweakTargeting.hpp" #include "DataSpec/DNACommon/Tweaks/ITweakTargeting.hpp"
// FIXME: Remove this include when it's in the DNA headers
#include <stdbool.h>
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
template<int NewRep> template<bool NewRep>
struct AT_SPECIALIZE_PARMS(true, false) CTweakTargeting final : public ITweakTargeting { struct AT_SPECIALIZE_PARMS(true, false) CTweakTargeting final : public ITweakTargeting {
AT_DECL_DNA_YAML AT_DECL_DNA_YAML
Value<atUint32> x4_targetRadiusMode; Value<atUint32> x4_targetRadiusMode;