From b1c03c9f9cb197050321a982f5d691ddad8c65a0 Mon Sep 17 00:00:00 2001 From: David Williams Date: Tue, 3 Jun 2014 21:37:22 +0200 Subject: [PATCH] Fix to mesh declaration. --- library/PolyVoxCore/include/PolyVoxCore/Mesh.h | 3 ++- .../include/PolyVoxCore/PolyVoxForwardDeclarations.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/Mesh.h b/library/PolyVoxCore/include/PolyVoxCore/Mesh.h index 34dc50b4..ee79ecca 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Mesh.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Mesh.h @@ -26,6 +26,7 @@ freely, subject to the following restrictions: #include "Impl/TypeDef.h" +#include "PolyVoxCore/PolyVoxForwardDeclarations.h" #include "PolyVoxCore/Region.h" #include "PolyVoxCore/Vertex.h" //Should probably do away with this on in the future... @@ -38,7 +39,7 @@ freely, subject to the following restrictions: namespace PolyVox { - template + template class Mesh { public: diff --git a/library/PolyVoxCore/include/PolyVoxCore/PolyVoxForwardDeclarations.h b/library/PolyVoxCore/include/PolyVoxCore/PolyVoxForwardDeclarations.h index 16151e4c..f72d5d37 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/PolyVoxForwardDeclarations.h +++ b/library/PolyVoxCore/include/PolyVoxCore/PolyVoxForwardDeclarations.h @@ -142,7 +142,7 @@ namespace PolyVox //////////////////////////////////////////////////////////////////////////////// // Mesh //////////////////////////////////////////////////////////////////////////////// - template class Mesh; + template class Mesh; //////////////////////////////////////////////////////////////////////////////// // Pager