From aea538bc5fefd6fdc73d3138ce8b3376c11e27e8 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 24 Jun 2011 13:42:19 +0200 Subject: [PATCH] Fix gcc warning. Change-Id: I42dee44f1cee68d83d803174f477b79131a7e109 Reviewed-on: http://codereview.qt.nokia.com/702 Reviewed-by: Qt Sanity Bot Reviewed-by: Christian Kandeler --- src/libs/glsl/glslsemantic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/glsl/glslsemantic.h b/src/libs/glsl/glslsemantic.h index 0ddb5fa24e4..bef565ac892 100644 --- a/src/libs/glsl/glslsemantic.h +++ b/src/libs/glsl/glslsemantic.h @@ -48,6 +48,8 @@ public: ExprResult(const Type *type = 0, bool isConstant = false) : type(type), isConstant(isConstant) {} + ~ExprResult() { } + bool isValid() const { if (! type) return false;