OSDN Git Service

[Fix] Patron の明示的デストラクタ定義を default に変更。
authorDeskull <61610939+sikabane-works@users.noreply.github.com>
Sun, 26 Sep 2021 06:49:43 +0000 (15:49 +0900)
committerDeskull <61610939+sikabane-works@users.noreply.github.com>
Sun, 26 Sep 2021 06:49:43 +0000 (15:49 +0900)
src/player/patron.h

index 466203c..95e5ccc 100644 (file)
@@ -66,7 +66,7 @@ public:
     player_type *player_ptr; //!< プレイヤー参照ポインタ
     void gain_level_reward(int chosen_reward) const;
     void admire() const;
-    virtual ~Patron() {}
+    virtual ~Patron() = default;
 };
 
 extern const std::vector<Patron> patron_list;