mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 13:20:29 +00:00
Mark some functions with override
Fixes some Clang warnings about overriding a virtual function without the override keyword.
This commit is contained in:
parent
917a3b5dff
commit
021627bdf8
@ -141,11 +141,11 @@ namespace Resource
|
|||||||
void setUnRefImageDataAfterApply(bool unref);
|
void setUnRefImageDataAfterApply(bool unref);
|
||||||
|
|
||||||
/// @see ResourceManager::updateCache
|
/// @see ResourceManager::updateCache
|
||||||
virtual void updateCache(double referenceTime);
|
void updateCache(double referenceTime) override;
|
||||||
|
|
||||||
virtual void clearCache();
|
void clearCache() override;
|
||||||
|
|
||||||
virtual void reportStats(unsigned int frameNumber, osg::Stats* stats) const;
|
void reportStats(unsigned int frameNumber, osg::Stats* stats) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -32,9 +32,9 @@ namespace Terrain
|
|||||||
|
|
||||||
osg::ref_ptr<osg::Node> getChunk(float size, const osg::Vec2f& center, int lod, unsigned int lodFlags);
|
osg::ref_ptr<osg::Node> getChunk(float size, const osg::Vec2f& center, int lod, unsigned int lodFlags);
|
||||||
|
|
||||||
virtual void reportStats(unsigned int frameNumber, osg::Stats* stats) const;
|
void reportStats(unsigned int frameNumber, osg::Stats* stats) const override;
|
||||||
|
|
||||||
virtual void clearCache();
|
void clearCache() override;
|
||||||
|
|
||||||
void releaseGLObjects(osg::State* state) override;
|
void releaseGLObjects(osg::State* state) override;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user