diff --git a/src/parser.cpp b/src/parser.cpp index 419f7357d..287d294a9 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -666,8 +666,6 @@ void parser_t::get_backtrace(const wcstring &src, const parse_error_list_t &erro block_t::block_t(block_type_t t) : block_type(t) {} -block_t::~block_t() = default; - wcstring block_t::description() const { wcstring result; switch (this->type()) { diff --git a/src/parser.h b/src/parser.h index de2e11ef9..54163e10e 100644 --- a/src/parser.h +++ b/src/parser.h @@ -121,8 +121,6 @@ class block_t { static block_t scope_block(block_type_t type); static block_t breakpoint_block(); static block_t variable_assignment_block(); - - ~block_t(); }; struct profile_item_t {