Avoid ambiguous function resolution of getVoxelImpl
Clang was complaining that the function couldn't access the *Volumes*'s ``getVoxelImpl``. Since we actually want the ``BaseVolume::Sampler``'s version this solves the problem.
This commit is contained in:
parent
8027f9904d
commit
2f2475ad0c
@ -88,7 +88,7 @@ namespace PolyVox
|
||||
}
|
||||
else
|
||||
{
|
||||
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ namespace PolyVox
|
||||
}
|
||||
else
|
||||
{
|
||||
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@ namespace PolyVox
|
||||
}
|
||||
else
|
||||
{
|
||||
return getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
return this->getVoxelImpl(this->mXPosInVolume, this->mYPosInVolume, this->mZPosInVolume);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user