Fixed some warnings with patch from AndiNo.
This commit is contained in:
@ -18,7 +18,7 @@ freely, subject to the following restrictions:
|
||||
misrepresented as being the original software.
|
||||
|
||||
3. This notice may not be removed or altered from any source
|
||||
distribution.
|
||||
distribution.
|
||||
*******************************************************************************/
|
||||
|
||||
#ifndef __PolyVox_SubArray_H__
|
||||
@ -66,7 +66,7 @@ namespace PolyVox
|
||||
ElementType & operator [] (uint32_t uIndex);
|
||||
|
||||
const ElementType & operator [] (uint32_t uIndex) const;
|
||||
|
||||
|
||||
private:
|
||||
SubArray<1, ElementType>(ElementType * pElements, uint32_t * pDimensions, uint32_t * /*pOffsets*/);
|
||||
|
||||
|
@ -45,10 +45,10 @@ namespace PolyVox
|
||||
|
||||
template <uint32_t noOfDims, typename ElementType>
|
||||
SubArray<noOfDims, ElementType>::SubArray(ElementType * pElements, uint32_t * pDimensions, uint32_t * pOffsets)
|
||||
:m_pElements(pElements)
|
||||
,m_pDimensions(pDimensions)
|
||||
:m_pDimensions(pDimensions)
|
||||
,m_pOffsets(pOffsets)
|
||||
,m_uNoOfElements(0)
|
||||
,m_pElements(pElements)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user