OSDN Git Service

[Fix] mutation-flag-types.h のインクルード関係
authorHabu <habu1010+github@gmail.com>
Wed, 5 May 2021 04:31:49 +0000 (13:31 +0900)
committerHabu <habu1010+github@gmail.com>
Wed, 5 May 2021 04:32:12 +0000 (13:32 +0900)
e3d1038fa79f9c612575e800db357f1d8f11d482 でインクルード
関係の修正が行われているが、flag-group.h で
mutation-flag-types.h をインクルードするのは明らかに変なので
player-type-definition.h へ移動する。

src/system/player-type-definition.h
src/util/flag-group.h

index c1a3d04..392669e 100644 (file)
@@ -1,5 +1,6 @@
 #pragma once
 
+#include "mutation/mutation-flag-types.h"
 #include "player-ability/player-ability-types.h"
 #include "player/player-race-types.h"
 #include "player/player-class-types.h"
@@ -11,7 +12,6 @@
 #define MAX_SKILLS 10
 #define MAX_MANE 16
 
-enum class MUTA;
 enum class RF_ABILITY;
 
 typedef struct floor_type floor_type;
index 6cd48fa..134a755 100644 (file)
@@ -2,8 +2,6 @@
 
 #include <bitset>
 
-#include "mutation/mutation-flag-types.h"
-
 /**
  * @brief フラグ集合を扱う、FlagGroupクラス
  *