X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=7729611c2a5e2a3d013b2e8a5112391af52ae668;hb=c6d59d1b35ee981c10ee8b9870338ffbaaa23e19;hp=f7e778b89ef65d417afd1f44751930311c5e94ed;hpb=64d98b0b4fb3214a3ca67ab1b239c120748e8e35;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index f7e778b8..7729611c 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -305,6 +305,7 @@ struct VariableDeclaration: Statement VariableDeclaration(); VariableDeclaration(const VariableDeclaration &); + ~VariableDeclaration(); virtual VariableDeclaration *clone() const { return new VariableDeclaration(*this); } virtual void visit(NodeVisitor &); @@ -321,6 +322,7 @@ struct InterfaceBlock: Statement InterfaceBlock(); InterfaceBlock(const InterfaceBlock &); + ~InterfaceBlock(); virtual InterfaceBlock *clone() const { return new InterfaceBlock(*this); } virtual void visit(NodeVisitor &);