]> git.mxchange.org Git - simgear.git/blobdiff - simgear/hla/HLABasicDataElement.cxx
hla: include config.h and compiler.h in implementation files.
[simgear.git] / simgear / hla / HLABasicDataElement.cxx
index f68cad36df13e7622cddeef3423496dd84b789d1..ae3f8af3b20fdf4e6f729a506972de840bcea452 100644 (file)
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
+
+#include <simgear/compiler.h>
+
 #include "HLABasicDataElement.hxx"
 
 #include "HLADataElementVisitor.hxx"
@@ -125,6 +131,7 @@ void
 HLA##type##DataElement::setValue(ctype value)                                                     \
 {                                                                                                 \
     _value = value;                                                                               \
+    setDirty(true);                                                                               \
 }
 
 IMPLEMENT_TYPED_HLA_BASIC_DATA_ELEMENT(Char, char);