ast_node: Remove empty destructor.
authorCarl Worth <cworth@cworth.org>
Wed, 23 Jun 2010 23:16:32 +0000 (16:16 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 23 Jun 2010 23:16:32 +0000 (16:16 -0700)
This wasn't serving any purpose. So delete it.

ast.h
glsl_parser_extras.cpp

diff --git a/ast.h b/ast.h
index 1cf80af9144fc0af39ba9c902bfd3ebef55af6ac..782e2c7ce740ad1c389150a149b449087a1f5e39 100644 (file)
--- 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);
index 7bd30de7c2441fc85a5a78a1328d2f831fa066d9..1d16ef55f5706817ad90bf9550f3689c8143bc0d 100644 (file)
@@ -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)
 {