Codechange: use default dtor instead of empty (#10826)

This commit is contained in:
Patric Stout
2023-05-14 23:31:03 +02:00
committed by GitHub
parent 7634553d22
commit 199e41c762
35 changed files with 40 additions and 62 deletions

View File

@@ -61,7 +61,7 @@ protected:
virtual const SpriteGroup *Resolve(ResolverObject &object) const { return this; };
public:
virtual ~SpriteGroup() {}
virtual ~SpriteGroup() = default;
uint32 nfo_line;
SpriteGroupType type;
@@ -289,7 +289,7 @@ struct ScopeResolver {
ResolverObject &ro; ///< Surrounding resolver object.
ScopeResolver(ResolverObject &ro) : ro(ro) {}
virtual ~ScopeResolver() {}
virtual ~ScopeResolver() = default;
virtual uint32 GetRandomBits() const;
virtual uint32 GetTriggers() const;
@@ -318,7 +318,7 @@ struct ResolverObject {
this->ResetState();
}
virtual ~ResolverObject() {}
virtual ~ResolverObject() = default;
ScopeResolver default_scope; ///< Default implementation of the grf scope.