Procházet zdrojové kódy

added missing single include guard

Kajetan Johannes Hammerle před 2 roky
rodič
revize
8167f17660
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  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