-// Copyright (C) 2009 - 2010 Mathias Froehlich - Mathias.Froehlich@web.de
+// Copyright (C) 2009 - 2012 Mathias Froehlich - Mathias.Froehlich@web.de
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
_map.swap(representationVisitor._map);
}
+void
+HLAEnumeratedDataType::_recomputeAlignmentImplementation()
+{
+ unsigned alignment = 1;
+ if (const HLADataType* dataType = getRepresentation())
+ alignment = std::max(alignment, dataType->getAlignment());
+ setAlignment(alignment);
+}
+
} // namespace simgear