diff options
Diffstat (limited to 'src/csgnode.h')
-rw-r--r-- | src/csgnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csgnode.h b/src/csgnode.h index 28aa0f6..d5ebfc2 100644 --- a/src/csgnode.h +++ b/src/csgnode.h @@ -15,7 +15,7 @@ class CsgNode : public AbstractNode public: csg_type_e type; CsgNode(const ModuleInstantiation *mi, csg_type_e type) : AbstractNode(mi), type(type) { } - virtual Response accept(const class State &state, Visitor &visitor) const { + virtual Response accept(class State &state, Visitor &visitor) const { return visitor.visit(state, *this); } virtual std::string toString() const; |