Compile fixes for g++.

This commit is contained in:
David Williams 2011-07-30 12:45:32 +01:00
parent 5ddc553ef2
commit 5e62d639fb
4 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ namespace PolyVox
{
template <typename VoxelType>
LargeVolume<VoxelType>::Sampler::Sampler(LargeVolume<VoxelType>* volume)
:Volume<VoxelType>::Sampler< LargeVolume<VoxelType> >(volume)
:Volume<VoxelType>::template Sampler< LargeVolume<VoxelType> >(volume)
{
}

View File

@ -31,7 +31,7 @@ namespace PolyVox
{
template <typename VoxelType>
RawVolume<VoxelType>::Sampler::Sampler(RawVolume<VoxelType>* volume)
:Volume<VoxelType>::Sampler< RawVolume<VoxelType> >(volume)
:Volume<VoxelType>::template Sampler< RawVolume<VoxelType> >(volume)
,mXPosInVolume(0)
,mYPosInVolume(0)
,mZPosInVolume(0)

View File

@ -35,8 +35,8 @@ freely, subject to the following restrictions:
namespace PolyVox
{
template <typename VoxelType>
SimpleVolume<VoxelType>::Sampler::Sampler(SimpleVolume<VoxelType>* volume)
:Volume<VoxelType>::Sampler< SimpleVolume<VoxelType> >(volume)
SimpleVolume<VoxelType>::Sampler::Sampler(SimpleVolume<VoxelType>* volume)
:Volume<VoxelType>::template Sampler< SimpleVolume<VoxelType> >(volume)
{
}

View File

@ -46,7 +46,7 @@ public:
{
public:
Sampler(VolumeSubclass<VoxelType>* volume)
:Volume<VoxelType>::Sampler< VolumeSubclass<VoxelType> >(volume)
:Volume<VoxelType>::template Sampler< VolumeSubclass<VoxelType> >(volume)
{
this->mVolume = volume;
}