mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 06:31:13 -03:00
ast.h: remove unused private member finished()
This commit is contained in:
@@ -926,9 +926,6 @@ class traversal_t {
|
||||
// Construct an empty visitor, used for iterator support.
|
||||
traversal_t() = default;
|
||||
|
||||
// \return whether we are finished visiting.
|
||||
bool finished() const { return stack_.empty(); }
|
||||
|
||||
// Append a node.
|
||||
void push(const node_t *n) {
|
||||
assert(n && "Should not push null node");
|
||||
|
||||
Reference in New Issue
Block a user