Mercurial > octave
changeset 29752:e04b4706ca18 stable
declare base_parser destructor virtual
* parse.h (base_parser::~base_parser): Declare virtual because class
has a virtual function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 14 Jun 2021 10:39:32 -0400 |
parents | 3a84bd37c6eb |
children | 48382b9025a5 5113ae64136b |
files | libinterp/parse-tree/parse.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/parse.h Fri Jun 11 09:11:43 2021 -0400 +++ b/libinterp/parse-tree/parse.h Mon Jun 14 10:39:32 2021 -0400 @@ -161,7 +161,7 @@ base_parser& operator = (const base_parser&) = delete; - ~base_parser (void); + virtual ~base_parser (void); base_lexer& get_lexer (void) const { return m_lexer; }