mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 03:40:21 -04:00
Make "visit" method pure virtual (needs to be implemented by subclass
to make sense).
This commit is contained in:
parent
2fee9bc48e
commit
1a0b049d0e
@ -43,9 +43,10 @@ class Visitor
|
||||
virtual ~Visitor() { }
|
||||
|
||||
/**
|
||||
* Does nothing. Should be overridden by child.
|
||||
* This method (to implemented by children) will be
|
||||
* called when the visitor is visited.
|
||||
*/
|
||||
virtual void visit() { }
|
||||
virtual void visit() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user