GCC fixes

This commit is contained in:
David Williams
2011-09-05 21:44:02 +01:00
parent b84147f650
commit 0c97756a0c
7 changed files with 10 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ namespace PolyVox
#if defined(_MSC_VER)
class Sampler : public Volume<VoxelType>::Sampler< SimpleVolume<VoxelType> > //This line works on VS2010
#else
class Sampler : public Volume<VoxelType>::Sampler Nested< SimpleVolume<VoxelType> > //This line works on GCC
class Sampler : public Volume<VoxelType>::template Sampler< SimpleVolume<VoxelType> > //This line works on GCC
#endif
{
public: