[caching] a couple of methods didn't need to be virtual

This commit is contained in:
Joe Thornber 2013-10-08 12:39:34 +01:00
parent 08142c0c66
commit 024216a5ff
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace caching {
public:
virtual ~damage_visitor() {}
virtual void visit(damage const &d) {
void visit(damage const &d) {
d.visit(*this);
}

View File

@ -64,7 +64,7 @@ namespace caching {
public:
virtual ~damage_visitor() {}
virtual void visit(mapping_array_damage::damage const &d) {
void visit(mapping_array_damage::damage const &d) {
d.visit(*this);
}