Compile fixes for g++.
This commit is contained in:
parent
5ddc553ef2
commit
5e62d639fb
@ -36,7 +36,7 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
template <typename VoxelType>
|
template <typename VoxelType>
|
||||||
LargeVolume<VoxelType>::Sampler::Sampler(LargeVolume<VoxelType>* volume)
|
LargeVolume<VoxelType>::Sampler::Sampler(LargeVolume<VoxelType>* volume)
|
||||||
:Volume<VoxelType>::Sampler< LargeVolume<VoxelType> >(volume)
|
:Volume<VoxelType>::template Sampler< LargeVolume<VoxelType> >(volume)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
template <typename VoxelType>
|
template <typename VoxelType>
|
||||||
RawVolume<VoxelType>::Sampler::Sampler(RawVolume<VoxelType>* volume)
|
RawVolume<VoxelType>::Sampler::Sampler(RawVolume<VoxelType>* volume)
|
||||||
:Volume<VoxelType>::Sampler< RawVolume<VoxelType> >(volume)
|
:Volume<VoxelType>::template Sampler< RawVolume<VoxelType> >(volume)
|
||||||
,mXPosInVolume(0)
|
,mXPosInVolume(0)
|
||||||
,mYPosInVolume(0)
|
,mYPosInVolume(0)
|
||||||
,mZPosInVolume(0)
|
,mZPosInVolume(0)
|
||||||
|
@ -35,8 +35,8 @@ freely, subject to the following restrictions:
|
|||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
{
|
{
|
||||||
template <typename VoxelType>
|
template <typename VoxelType>
|
||||||
SimpleVolume<VoxelType>::Sampler::Sampler(SimpleVolume<VoxelType>* volume)
|
SimpleVolume<VoxelType>::Sampler::Sampler(SimpleVolume<VoxelType>* volume)
|
||||||
:Volume<VoxelType>::Sampler< SimpleVolume<VoxelType> >(volume)
|
:Volume<VoxelType>::template Sampler< SimpleVolume<VoxelType> >(volume)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ public:
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Sampler(VolumeSubclass<VoxelType>* volume)
|
Sampler(VolumeSubclass<VoxelType>* volume)
|
||||||
:Volume<VoxelType>::Sampler< VolumeSubclass<VoxelType> >(volume)
|
:Volume<VoxelType>::template Sampler< VolumeSubclass<VoxelType> >(volume)
|
||||||
{
|
{
|
||||||
this->mVolume = volume;
|
this->mVolume = volume;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user