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

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

No files matched your search

+1 -1
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);
}
+1 -1
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);
}