mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-28 23:06:24 +02:00
Remove unnecessary virtuals
This commit is contained in:
parent
74a90cde5d
commit
fbf5492fd9
@ -78,12 +78,12 @@ struct DLL_LINKAGE Limiter final
|
||||
LimitersList noneOf;
|
||||
|
||||
Limiter();
|
||||
virtual ~Limiter();
|
||||
~Limiter();
|
||||
|
||||
bool heroAllowed(const CGHeroInstance * hero) const;
|
||||
|
||||
/// Generates list of components that describes reward for a specific hero
|
||||
virtual void loadComponents(std::vector<Component> & comps,
|
||||
void loadComponents(std::vector<Component> & comps,
|
||||
const CGHeroInstance * h) const;
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
|
@ -78,7 +78,7 @@ struct DLL_LINKAGE Reward final
|
||||
bool removeObject;
|
||||
|
||||
/// Generates list of components that describes reward for a specific hero
|
||||
virtual void loadComponents(std::vector<Component> & comps,
|
||||
void loadComponents(std::vector<Component> & comps,
|
||||
const CGHeroInstance * h) const;
|
||||
|
||||
Component getDisplayedComponent(const CGHeroInstance * h) const;
|
||||
|
Loading…
Reference in New Issue
Block a user