From: Carl Worth Date: Wed, 23 Jun 2010 23:16:32 +0000 (-0700) Subject: ast_node: Remove empty destructor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b2d32b5b5864869419a88d194b740bc0ec211e8;p=mesa.git ast_node: Remove empty destructor. This wasn't serving any purpose. So delete it. --- diff --git a/ast.h b/ast.h index 1cf80af9144..782e2c7ce74 100644 --- a/ast.h +++ b/ast.h @@ -36,7 +36,6 @@ struct YYLTYPE; class ast_node { public: - virtual ~ast_node(); virtual void print(void) const; virtual ir_rvalue *hir(exec_list *instructions, struct _mesa_glsl_parse_state *state); diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index 7bd30de7c24..1d16ef55f57 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -155,13 +155,6 @@ _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp, return true; } - -ast_node::~ast_node() -{ - /* empty */ -} - - void _mesa_ast_type_qualifier_print(const struct ast_type_qualifier *q) {