Warning fix on clang.

This commit is contained in:
King_DuckZ 2016-11-02 02:53:29 +01:00
parent d12b7f777a
commit e64b53f8d0

View file

@ -128,12 +128,12 @@ namespace cloonel {
GameplayScene::Destroy(); GameplayScene::Destroy();
//Destroy in reverse creation order //Destroy in reverse creation order
m_platforms = std::move(std::unique_ptr<PlatformSpawner>(nullptr)); m_platforms = std::unique_ptr<PlatformSpawner>(nullptr);
m_wallpaper = std::move(std::unique_ptr<TiledWallpaper>(nullptr)); m_wallpaper = std::unique_ptr<TiledWallpaper>(nullptr);
m_moverWorld = std::move(std::unique_ptr<MoverWorld>(nullptr)); m_moverWorld = std::unique_ptr<MoverWorld>(nullptr);
m_moverLeftRight = std::move(std::unique_ptr<MoverLeftRight>(nullptr)); m_moverLeftRight = std::unique_ptr<MoverLeftRight>(nullptr);
m_player = std::move(std::unique_ptr<Character>(nullptr)); m_player = std::unique_ptr<Character>(nullptr);
m_moverSine = std::move(std::unique_ptr<MoverSine>(nullptr)); m_moverSine = std::unique_ptr<MoverSine>(nullptr);
} }
///-------------------------------------------------------------------------- ///--------------------------------------------------------------------------