From 1c67fc3c667e9958c2c9429de48a4d91a6891f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 4 Nov 2012 15:34:01 +0100 Subject: [PATCH] Fixed unintialized variable. Accidentaly found when running unit tests on GLES build. --- src/Physics/ShapedObjectGroup.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Physics/ShapedObjectGroup.h b/src/Physics/ShapedObjectGroup.h index 7654a1286..acd5fb96a 100644 --- a/src/Physics/ShapedObjectGroup.h +++ b/src/Physics/ShapedObjectGroup.h @@ -40,6 +40,13 @@ template class PHYSICS_EXPORT ShapedObjectGroup { friend class ShapedObject; public: + /** + * @brief Constructor + * + * Marks the group as dirty. + */ + inline constexpr ShapedObjectGroup(): dirty(true) {} + /** * @brief Destructor *