From 5e62d639fb9927256fb96863c279562526399bc9 Mon Sep 17 00:00:00 2001 From: David Williams Date: Sat, 30 Jul 2011 12:45:32 +0100 Subject: [PATCH] Compile fixes for g++. --- .../PolyVoxCore/include/PolyVoxCore/LargeVolumeSampler.inl | 2 +- library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl | 2 +- .../PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl | 4 ++-- tests/TestVolumeSubclass.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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; }