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); } ///--------------------------------------------------------------------------