diff --git a/library/PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl b/library/PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl index 052aa3e5..cd092055 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl @@ -36,7 +36,7 @@ namespace PolyVox { template LargeVolume::Sampler::Sampler(LargeVolume* volume) - :Volume::Sampler< LargeVolume >(volume) + :Volume::template Sampler< LargeVolume >(volume) { } diff --git a/library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl b/library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl index 431a2085..5a77a3c1 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl @@ -31,7 +31,7 @@ namespace PolyVox { template RawVolume::Sampler::Sampler(RawVolume* volume) - :Volume::Sampler< RawVolume >(volume) + :Volume::template Sampler< RawVolume >(volume) ,mXPosInVolume(0) ,mYPosInVolume(0) ,mZPosInVolume(0) diff --git a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl index 16ad76fc..855fbaf0 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl @@ -35,8 +35,8 @@ freely, subject to the following restrictions: namespace PolyVox { template - SimpleVolume::Sampler::Sampler(SimpleVolume* volume) - :Volume::Sampler< SimpleVolume >(volume) + SimpleVolume::Sampler::Sampler(SimpleVolume* volume) + :Volume::template Sampler< SimpleVolume >(volume) { } diff --git a/tests/TestVolumeSubclass.cpp b/tests/TestVolumeSubclass.cpp index 2c42d954..dc6af74d 100644 --- a/tests/TestVolumeSubclass.cpp +++ b/tests/TestVolumeSubclass.cpp @@ -46,7 +46,7 @@ public: { public: Sampler(VolumeSubclass* volume) - :Volume::Sampler< VolumeSubclass >(volume) + :Volume::template Sampler< VolumeSubclass >(volume) { this->mVolume = volume; }