Skip to content

Commit 022c79e

Browse files
author
Daniel Kroening
authoredJun 1, 2019
Merge pull request #4743 from diffblue/statement-list-destructor
added virtual destructor to statement_list_parse_treet::functiont
2 parents 925d7a8 + 17384f7 commit 022c79e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/statement-list/statement_list_parse_tree.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ class statement_list_parse_treet
170170
/// Prints the function in a human-readable form to the given output
171171
/// stream.
172172
virtual void output(std::ostream &out) const;
173+
174+
// destructor
175+
virtual ~functiont() = default;
173176
};
174177
using functionst = std::list<functiont>;
175178

0 commit comments

Comments
 (0)
Please sign in to comment.