Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2D/TextSceneLayer.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/TextSceneLayer.h Mon Sep 21 14:50:26 2020 +0200 +++ b/OrthancStone/Sources/Scene2D/TextSceneLayer.h Mon Sep 21 17:46:39 2020 +0200 @@ -43,7 +43,7 @@ public: TextSceneLayer(); - virtual ISceneLayer* Clone() const; + virtual ISceneLayer* Clone() const ORTHANC_OVERRIDE; void SetPosition(double x, double y); @@ -86,17 +86,17 @@ return anchor_; } - virtual Type GetType() const + virtual Type GetType() const ORTHANC_OVERRIDE { return Type_Text; } - virtual bool GetBoundingBox(Extent2D& target) const + virtual bool GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE { return false; } - virtual uint64_t GetRevision() const + virtual uint64_t GetRevision() const ORTHANC_OVERRIDE { return revision_; }