From c49bce2b8b6cdd493e730ea6df94b69c2783369d Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 2 Apr 2019 00:15:10 +0200 Subject: [PATCH] =?UTF-8?q?tutorial:=20add=20a=20few=20missing=20=E2=80=9C?= =?UTF-8?q?override=E2=80=9D=20qualifiers.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/tutorial/04_texture.cpp | 2 +- doc/tutorial/05_easymesh.cpp | 2 +- doc/tutorial/06_sprite.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tutorial/04_texture.cpp b/doc/tutorial/04_texture.cpp index 34accf58..274ee112 100644 --- a/doc/tutorial/04_texture.cpp +++ b/doc/tutorial/04_texture.cpp @@ -80,7 +80,7 @@ public: return true; } - virtual void tick_draw(float seconds, Scene &scene) + virtual void tick_draw(float seconds, Scene &scene) override { WorldEntity::tick_draw(seconds, scene); diff --git a/doc/tutorial/05_easymesh.cpp b/doc/tutorial/05_easymesh.cpp index 5e68bfd2..966fc4ab 100644 --- a/doc/tutorial/05_easymesh.cpp +++ b/doc/tutorial/05_easymesh.cpp @@ -87,7 +87,7 @@ public: Ticker::Unref(m_light2); } - virtual void tick_game(float seconds) + virtual void tick_game(float seconds) override { WorldEntity::tick_game(seconds); diff --git a/doc/tutorial/06_sprite.cpp b/doc/tutorial/06_sprite.cpp index 7c2d32f6..c15357f1 100644 --- a/doc/tutorial/06_sprite.cpp +++ b/doc/tutorial/06_sprite.cpp @@ -46,7 +46,7 @@ public: Ticker::Unref(m_camera); } - virtual void tick_game(float seconds) + virtual void tick_game(float seconds) override { for (int i = 0; i < SPRITE_COUNT; ++i) {