Forráskód Böngészése

added missing single include guard

Kajetan Johannes Hammerle 2 éve
szülő
commit
8167f17660
1 módosított fájl, 6 hozzáadás és 1 törlés
  1. 6 1
      ecs/Components.h

+ 6 - 1
ecs/Components.h

@@ -1,3 +1,6 @@
+#ifndef COMPONENTS_H
+#define COMPONENTS_H
+
 #include "utils/HashMap.h"
 #include "utils/List.h"
 #include "utils/Types.h"
@@ -123,4 +126,6 @@ public:
     EntityIteratorAdapter<const Components, const T> entities() const {
         return {*this};
     }
-};
+};
+
+#endif