Another 'typename', GCC really likes these.

This commit is contained in:
David Williams 2015-02-10 21:52:05 +01:00
parent 1cbc0605fd
commit f87966686d

View File

@ -84,7 +84,7 @@ VolumeType* createAndFillVolumeWithNoise(int32_t iVolumeSideLength, typename Vol
else else
{ {
// Otherwise we write random voxel values between zero and the requested maximum // Otherwise we write random voxel values between zero and the requested maximum
VolumeType::VoxelType voxelValue = static_cast<typename VolumeType::VoxelType>(dist(rng)); typename VolumeType::VoxelType voxelValue = static_cast<typename VolumeType::VoxelType>(dist(rng));
volData->setVoxelAt(x, y, z, static_cast<typename VolumeType::VoxelType>(voxelValue)); volData->setVoxelAt(x, y, z, static_cast<typename VolumeType::VoxelType>(voxelValue));
} }
} }