From f847e6ad94ec0f7050eabca1d6d17a4fe9c36d63 Mon Sep 17 00:00:00 2001 From: David Williams Date: Tue, 26 Jul 2011 20:58:46 +0100 Subject: [PATCH] g++ compile fixes --- library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h | 2 +- library/PolyVoxCore/include/PolyVoxCore/RawVolume.h | 2 +- library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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);