From 4b2d32b5b5864869419a88d194b740bc0ec211e8 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 23 Jun 2010 16:16:32 -0700 Subject: [PATCH] ast_node: Remove empty destructor. This wasn't serving any purpose. So delete it. --- ast.h | 1 - glsl_parser_extras.cpp | 7 ------- 2 files changed, 8 deletions(-) diff --git a/ast.h b/ast.h index 1cf80af..782e2c7 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 7bd30de..1d16ef5 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) { -- 2.7.4