From 45e6985f2504d393fecf7d66cd7dac41b189de58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 11 Sep 2015 17:49:29 +0200 Subject: [PATCH] SceneGraph: fix MSVC 2015 shadowing warnings. --- src/Magnum/SceneGraph/Test/AnimableTest.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Magnum/SceneGraph/Test/AnimableTest.cpp b/src/Magnum/SceneGraph/Test/AnimableTest.cpp index 5d271dcca..5b207d60d 100644 --- a/src/Magnum/SceneGraph/Test/AnimableTest.cpp +++ b/src/Magnum/SceneGraph/Test/AnimableTest.cpp @@ -163,8 +163,8 @@ class OneShotAnimable: public SceneGraph::Animable3D { std::string stateChanges; protected: - void animationStep(Float time, Float) override { - this->time = time; + void animationStep(Float t, Float) override { + time = t; } void animationStarted() override { @@ -184,9 +184,9 @@ void AnimableTest::step() { Float time, delta; protected: - void animationStep(Float time, Float delta) override { - this->time = time; - this->delta = delta; + void animationStep(Float t, Float d) override { + time = t; + delta = d; } }; @@ -247,8 +247,8 @@ void AnimableTest::repeat() { Float time; protected: - void animationStep(Float time, Float) override { - this->time = time; + void animationStep(Float t, Float) override { + time = t; } };