[caching] a couple of methods didn't need to be virtual
This commit is contained in:
1 parent
08142c0c66
commit
024216a5ff
2 files changed
+2
-2
No files matched your search
@@ -39,7 +39,7 @@ namespace caching {
|
||||
public:
|
||||
virtual ~damage_visitor() {}
|
||||
|
||||
virtual void visit(damage const &d) {
|
||||
void visit(damage const &d) {
|
||||
d.visit(*this);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user