Remove 'final' specifier as it was breaking dynamic_cast<invalid_featureset*>
in 'is_valid' test when building on macOS arm64
``` Apple clang version 16.0.0 (clang-1600.0.26.3) Target: arm64-apple-darwin24.0.0 ``` Also remove empty dtor as not required
This commit is contained in:
parent
379261434b
commit
20b154ae49
1 changed files with 1 additions and 2 deletions
|
@ -41,10 +41,9 @@ struct MAPNIK_DECL Featureset : private util::noncopyable
|
||||||
virtual ~Featureset() {}
|
virtual ~Featureset() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct MAPNIK_DECL invalid_featureset final : Featureset
|
struct MAPNIK_DECL invalid_featureset : Featureset
|
||||||
{
|
{
|
||||||
feature_ptr next() { return feature_ptr(); }
|
feature_ptr next() { return feature_ptr(); }
|
||||||
~invalid_featureset() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
using featureset_ptr = std::shared_ptr<Featureset>;
|
using featureset_ptr = std::shared_ptr<Featureset>;
|
||||||
|
|
Loading…
Reference in a new issue