From e64b53f8d033a262070e5e28c4b5356901b5d29b Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 2 Nov 2016 02:53:29 +0100 Subject: [PATCH] Warning fix on clang. --- src/gameplaysceneclassic.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gameplaysceneclassic.cpp b/src/gameplaysceneclassic.cpp index 5281773..519bbfa 100644 --- a/src/gameplaysceneclassic.cpp +++ b/src/gameplaysceneclassic.cpp @@ -128,12 +128,12 @@ namespace cloonel { GameplayScene::Destroy(); //Destroy in reverse creation order - m_platforms = std::move(std::unique_ptr(nullptr)); - m_wallpaper = std::move(std::unique_ptr(nullptr)); - m_moverWorld = std::move(std::unique_ptr(nullptr)); - m_moverLeftRight = std::move(std::unique_ptr(nullptr)); - m_player = std::move(std::unique_ptr(nullptr)); - m_moverSine = std::move(std::unique_ptr(nullptr)); + m_platforms = std::unique_ptr(nullptr); + m_wallpaper = std::unique_ptr(nullptr); + m_moverWorld = std::unique_ptr(nullptr); + m_moverLeftRight = std::unique_ptr(nullptr); + m_player = std::unique_ptr(nullptr); + m_moverSine = std::unique_ptr(nullptr); } ///--------------------------------------------------------------------------