From 19f3a8bf6ee2f18da13ffc2e27c30765abf9b86d Mon Sep 17 00:00:00 2001 From: David Williams Date: Sun, 17 Jul 2011 20:31:53 +0100 Subject: [PATCH] GCC compile fix. --- library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl index 8969a483..6842c78f 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl @@ -84,7 +84,7 @@ namespace PolyVox float fScaleY = srcHeight / dstHeight; float fScaleZ = srcDepth / dstDepth; - SrcVolumeType::Sampler sampler(m_pVolSrc); + typename SrcVolumeType::Sampler sampler(m_pVolSrc); for(int32_t dz = m_regDst.getLowerCorner().getZ(); dz <= m_regDst.getUpperCorner().getZ(); dz++) {