Browse Source

added missing single include guard

Kajetan Johannes Hammerle 2 years ago
parent
commit
8167f17660
1 changed files with 6 additions and 1 deletions
  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