Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix MSVC warning C4250: inherits 'X' via dominance (94x)
  • Loading branch information
LaurensVoerman authored and robertosfield committed Jan 17, 2019
1 parent cb90d26 commit 664d597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/osgViewer/Viewer
Expand Up @@ -114,8 +114,8 @@ class OSGVIEWER_EXPORT Viewer : public ViewerBase, public osgViewer::View
virtual void getUsage(osg::ApplicationUsage& usage) const;

// ensure that osg::View provides the reiszerGLObjects and releaseGLObjects methods
using osg::View::resizeGLObjectBuffers;
using osg::View::releaseGLObjects;
virtual void resizeGLObjectBuffers(unsigned int maxSize) { osg::View::resizeGLObjectBuffers(maxSize); }
virtual void releaseGLObjects(osg::State* state = 0) const { osg::View::releaseGLObjects(state); }

protected:

Expand Down

0 comments on commit 664d597

Please sign in to comment.