[caching] a couple of methods didn't need to be virtual
This commit is contained in:
parent
08142c0c66
commit
024216a5ff
@ -39,7 +39,7 @@ namespace caching {
|
|||||||
public:
|
public:
|
||||||
virtual ~damage_visitor() {}
|
virtual ~damage_visitor() {}
|
||||||
|
|
||||||
virtual void visit(damage const &d) {
|
void visit(damage const &d) {
|
||||||
d.visit(*this);
|
d.visit(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ namespace caching {
|
|||||||
public:
|
public:
|
||||||
virtual ~damage_visitor() {}
|
virtual ~damage_visitor() {}
|
||||||
|
|
||||||
virtual void visit(mapping_array_damage::damage const &d) {
|
void visit(mapping_array_damage::damage const &d) {
|
||||||
d.visit(*this);
|
d.visit(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user