From: Mathias Froehlich Date: Sat, 21 Jul 2012 10:55:53 +0000 (+0200) Subject: hla: Add HLABoolDataElement. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c82da8c9c8d6640939f1e86f49afa1f1a0e0bf5d;p=simgear.git hla: Add HLABoolDataElement. --- diff --git a/simgear/hla/HLABasicDataElement.cxx b/simgear/hla/HLABasicDataElement.cxx index ae3f8af3..4930f57e 100644 --- a/simgear/hla/HLABasicDataElement.cxx +++ b/simgear/hla/HLABasicDataElement.cxx @@ -134,6 +134,7 @@ HLA##type##DataElement::setValue(ctype value) setDirty(true); \ } +IMPLEMENT_TYPED_HLA_BASIC_DATA_ELEMENT(Bool, bool); IMPLEMENT_TYPED_HLA_BASIC_DATA_ELEMENT(Char, char); IMPLEMENT_TYPED_HLA_BASIC_DATA_ELEMENT(WChar, wchar_t); IMPLEMENT_TYPED_HLA_BASIC_DATA_ELEMENT(SChar, signed char); diff --git a/simgear/hla/HLABasicDataElement.hxx b/simgear/hla/HLABasicDataElement.hxx index 70c275be..f729d7f0 100644 --- a/simgear/hla/HLABasicDataElement.hxx +++ b/simgear/hla/HLABasicDataElement.hxx @@ -95,6 +95,7 @@ private: \ }; +TYPED_HLA_BASIC_DATA_ELEMENT(Bool, bool); TYPED_HLA_BASIC_DATA_ELEMENT(Char, char); TYPED_HLA_BASIC_DATA_ELEMENT(WChar, wchar_t); TYPED_HLA_BASIC_DATA_ELEMENT(SChar, signed char);