From c412503a3c106fcc37ae79c60a8c22b733141c1b Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Sat, 25 Feb 2012 23:25:10 +0000 Subject: [PATCH] Remove unnecessary templates This set of template braces isn't needed in GCC and in fact breaks Clang. With this patch, Polyox builds on Clang (except OpenGLExample due to a Clang bug). --- library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h b/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h index 344b1d39..b7e28223 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h +++ b/library/PolyVoxCore/include/PolyVoxCore/AStarPathfinder.h @@ -72,7 +72,7 @@ namespace PolyVox float fHBias = 1.0, uint32_t uMaxNoOfNodes = 10000, Connectivity connectivity = TwentySixConnected, - polyvox_function*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator, + polyvox_function*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator, polyvox_function funcProgressCallback = 0 ) :volume(volData)