diff --git a/src/relic.cpp b/src/relic.cpp index 6a51fcd725ee3..535a6db91eb18 100644 --- a/src/relic.cpp +++ b/src/relic.cpp @@ -106,6 +106,8 @@ void relic_procgen_data::load_relic_procgen_data( const JsonObject &jo, const st relic_procgen_data_factory.load( jo, src ); } +relic::~relic() = default; + void relic::add_active_effect( const fake_spell &sp ) { active_effects.emplace_back( sp ); diff --git a/src/relic.h b/src/relic.h index 8d475ca81e8eb..f9eec267c180b 100644 --- a/src/relic.h +++ b/src/relic.h @@ -216,6 +216,8 @@ class relic // passive enchantments to add by id in finalize once we can guarantee that they have loaded std::vector passive_enchant_ids; // NOLINT(cata-serialize) public: + ~relic(); + std::string name() const; // returns number of charges that should be consumed int activate( Creature &caster, const tripoint &target );