瀏覽代碼

added missing single include guard

Kajetan Johannes Hammerle 2 年之前
父節點
當前提交
8167f17660
共有 1 個文件被更改,包括 6 次插入1 次删除
  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