From 9b88e975995ad86f772f27264c76c4d393573627 Mon Sep 17 00:00:00 2001 From: David Williams Date: Tue, 19 Aug 2014 21:02:52 +0200 Subject: [PATCH] Linux/GCC fix. --- library/PolyVoxCore/include/PolyVoxCore/Mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/Mesh.h b/library/PolyVoxCore/include/PolyVoxCore/Mesh.h index 802b0656..4c1b3582 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Mesh.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Mesh.h @@ -81,7 +81,7 @@ namespace PolyVox { Mesh< Vertex< typename MeshType::VertexType::DataType >, typename MeshType::IndexType > decodedMesh; - for (MeshType::IndexType ct = 0; ct < encodedMesh.getNoOfVertices(); ct++) + for (typename MeshType::IndexType ct = 0; ct < encodedMesh.getNoOfVertices(); ct++) { decodedMesh.addVertex(decodeVertex(encodedMesh.getVertex(ct))); }