Cleaned up warning generated when compiling osgocculusviewer

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14695 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-02-17 10:36:41 +00:00
parent 6bddbdf074
commit 53198f2e9b
7 changed files with 35 additions and 82 deletions

View File

@@ -839,15 +839,15 @@ public:
Type getElementType() const { return _elementType; }
unsigned int getElementSize() const { return _elementSize; }
virtual unsigned int size(const osg::Object& obj) const { return 0; }
virtual void resize(osg::Object& obj, unsigned int numElements) const {}
virtual void reserve(osg::Object& obj, unsigned int numElements) const {}
virtual void clear(osg::Object& obj) const {}
virtual void addElement(osg::Object& obj, void* ptr) const {}
virtual void insertElement(osg::Object& obj, unsigned int index, void* ptr) const {}
virtual void setElement(osg::Object& obj, unsigned int index, void* ptr) const {}
virtual void* getElement(osg::Object& obj, unsigned int index) const { return 0; }
virtual const void* getElement(const osg::Object& obj, unsigned int index) const { return 0; }
virtual unsigned int size(const osg::Object& /*obj*/) const { return 0; }
virtual void resize(osg::Object& /*obj*/, unsigned int /*numElements*/) const {}
virtual void reserve(osg::Object& /*obj*/, unsigned int /*numElements*/) const {}
virtual void clear(osg::Object& /*obj*/) const {}
virtual void addElement(osg::Object& /*obj*/, void* /*ptr*/) const {}
virtual void insertElement(osg::Object& /*obj*/, unsigned int /*index*/, void* /*ptr*/) const {}
virtual void setElement(osg::Object& /*obj*/, unsigned int /*index*/, void* /*ptr*/) const {}
virtual void* getElement(osg::Object& /*obj*/, unsigned int /*index*/) const { return 0; }
virtual const void* getElement(const osg::Object& /*obj*/, unsigned int /*index*/) const { return 0; }
protected:
Type _elementType;
@@ -1199,7 +1199,7 @@ public:
virtual bool valid() const { return false; }
virtual const void* getKey() const { return 0; }
virtual void* getElement() const { return 0; }
virtual void setElement(void* ptr) const {}
virtual void setElement(void* /*ptr*/) const {}
protected:
BaseSerializer::Type _keyType;
@@ -1224,14 +1224,14 @@ public:
Type getElementType() const { return _elementType; }
unsigned int getElementSize() const { return _elementSize; }
virtual void clear(osg::Object& obj) const {}
virtual void setElement(osg::Object& obj, void* ptrKey, void* ptrValue) const {}
virtual void* getElement(osg::Object& obj, void* ptrKey) const { return 0; }
virtual const void* getElement(const osg::Object& obj, void* ptrKey) const { return 0; }
virtual unsigned int size(const osg::Object& obj) const { return 0; }
virtual void clear(osg::Object& /*obj*/) const {}
virtual void setElement(osg::Object& /*obj*/, void* /*ptrKey*/, void* /*ptrValue*/) const {}
virtual void* getElement(osg::Object& /*obj*/, void* /*ptrKey*/) const { return 0; }
virtual const void* getElement(const osg::Object& /*obj*/, void* /*ptrKey*/) const { return 0; }
virtual unsigned int size(const osg::Object& /*obj*/) const { return 0; }
virtual MapIteratorObject* createIterator(osg::Object& obj) const { return 0; }
virtual MapIteratorObject* createReverseIterator(osg::Object& obj) const { return 0; }
virtual MapIteratorObject* createIterator(osg::Object& /*obj*/) const { return 0; }
virtual MapIteratorObject* createReverseIterator(osg::Object& /*obj*/) const { return 0; }
protected:
Type _keyType;