From 9f56acee99307898d179b4d726a47528e8f78cad Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 21 Dec 2006 19:33:08 +0000 Subject: - Fix build with gcc 4.1 PR: ports/106834 Submitted by: German Tischler (maintainer) --- graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h (limited to 'graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h') diff --git a/graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h b/graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h new file mode 100644 index 000000000000..457d0fc54116 --- /dev/null +++ b/graphics/libx3dtk/files/patch-X3DMFNodeFunctor.h @@ -0,0 +1,12 @@ +*** include/X3DTK/private/X3DMFNodeFunctor.h.orig Sat Dec 16 15:21:47 2006 +--- include/X3DTK/private/X3DMFNodeFunctor.h Sat Dec 16 15:22:02 2006 +*************** +*** 26,31 **** +--- 26,32 ---- + class X3DMFNodeFunctor + { + public: ++ virtual ~X3DMFNodeFunctor() {} + virtual const MFNode &getNodes(X3DAbstractNode const *N) = 0; + virtual bool addNode(X3DAbstractNode *N, X3DAbstractNode *C) = 0; + virtual bool removeNode(X3DAbstractNode *N, X3DAbstractNode *C) = 0; -- cgit v1.2.3