diff options
author | Chih-Wei Huang <cwhuang@linux.org.tw> | 2010-12-16 17:23:19 +0800 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2010-12-29 17:35:47 +0800 |
commit | f189dfe9e92dc5eff30ed00bc2e1dae5c5e59fa4 (patch) | |
tree | 9a159e38dc974e36a6d27754e7bfafc534fe955d /src/glsl/ast.h | |
parent | d1ccafa5b7a79366a8439c2e39e8bf8fe7bdacb6 (diff) |
mesa: fix compiling issues with gcc 4.4.xandroid-x86-2.2
Gcc 4.4 requires a class with virtual functions has to
define the virtual destructor.
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r-- | src/glsl/ast.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index a77b522705..1420f234b6 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -129,6 +129,7 @@ protected: * be created. */ ast_node(void); + virtual ~ast_node() {} }; |