summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-23 16:16:32 -0700
committerCarl Worth <cworth@cworth.org>2010-06-23 16:16:32 -0700
commit4b2d32b5b5864869419a88d194b740bc0ec211e8 (patch)
treea13b55ada855e0c2b04554dd5c80812cab6abb3b
parentc42e64099b80e112eb0b172801a7107e143f78dc (diff)
ast_node: Remove empty destructor.HEADmaster
This wasn't serving any purpose. So delete it.
-rw-r--r--ast.h1
-rw-r--r--glsl_parser_extras.cpp7
2 files changed, 0 insertions, 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)
{