Fixed unused parameter warning.
This commit is contained in:
parent
c8d14a1745
commit
744421631e
@ -52,7 +52,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Copy ctor. */
|
/** Copy ctor. */
|
||||||
MyArray(const MyArray& other, const osg::CopyOp& copyop) :
|
MyArray(const MyArray& other, const osg::CopyOp& /*copyop*/) :
|
||||||
osg::Array(osg::Array::Vec3ArrayType,3,GL_FLOAT),
|
osg::Array(osg::Array::Vec3ArrayType,3,GL_FLOAT),
|
||||||
_numElements(other._numElements),
|
_numElements(other._numElements),
|
||||||
_ptr(other._ptr) {
|
_ptr(other._ptr) {
|
||||||
@ -125,8 +125,8 @@ public:
|
|||||||
return _numElements * sizeof(osg::Vec3);
|
return _numElements * sizeof(osg::Vec3);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void reserveArray(unsigned int num) { OSG_NOTICE<<"reserveArray() not supported"<<std::endl; }
|
virtual void reserveArray(unsigned int /*num*/) { OSG_NOTICE<<"reserveArray() not supported"<<std::endl; }
|
||||||
virtual void resizeArray(unsigned int num) { OSG_NOTICE<<"resizeArray() not supported"<<std::endl; }
|
virtual void resizeArray(unsigned int /*num*/) { OSG_NOTICE<<"resizeArray() not supported"<<std::endl; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned int _numElements;
|
unsigned int _numElements;
|
||||||
|
Loading…
Reference in New Issue
Block a user