diff --git a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h index 382d1957..3452a1f0 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h @@ -145,7 +145,7 @@ namespace PolyVox class LargeVolume : public Volume { public: - class Sampler : public Volume::Sampler< LargeVolume > + class Sampler : public Volume::template Sampler< LargeVolume > { public: Sampler(LargeVolume* volume); diff --git a/library/PolyVoxCore/include/PolyVoxCore/RawVolume.h b/library/PolyVoxCore/include/PolyVoxCore/RawVolume.h index 02540249..91c89e79 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/RawVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/RawVolume.h @@ -38,7 +38,7 @@ namespace PolyVox { public: #ifndef SWIG - class Sampler : public Volume::Sampler< RawVolume > + class Sampler : public Volume::template Sampler< RawVolume > { public: Sampler(RawVolume* volume); diff --git a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h index 48ea4f35..7391b61c 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h @@ -60,7 +60,7 @@ namespace PolyVox uint8_t m_uSideLengthPower; }; - class Sampler : public Volume::Sampler< SimpleVolume > + class Sampler : public Volume::template Sampler< SimpleVolume > { public: Sampler(SimpleVolume* volume);