Warning fix on clang.
This commit is contained in:
parent
d12b7f777a
commit
e64b53f8d0
1 changed files with 6 additions and 6 deletions
|
@ -128,12 +128,12 @@ namespace cloonel {
|
|||
GameplayScene::Destroy();
|
||||
|
||||
//Destroy in reverse creation order
|
||||
m_platforms = std::move(std::unique_ptr<PlatformSpawner>(nullptr));
|
||||
m_wallpaper = std::move(std::unique_ptr<TiledWallpaper>(nullptr));
|
||||
m_moverWorld = std::move(std::unique_ptr<MoverWorld>(nullptr));
|
||||
m_moverLeftRight = std::move(std::unique_ptr<MoverLeftRight>(nullptr));
|
||||
m_player = std::move(std::unique_ptr<Character>(nullptr));
|
||||
m_moverSine = std::move(std::unique_ptr<MoverSine>(nullptr));
|
||||
m_platforms = std::unique_ptr<PlatformSpawner>(nullptr);
|
||||
m_wallpaper = std::unique_ptr<TiledWallpaper>(nullptr);
|
||||
m_moverWorld = std::unique_ptr<MoverWorld>(nullptr);
|
||||
m_moverLeftRight = std::unique_ptr<MoverLeftRight>(nullptr);
|
||||
m_player = std::unique_ptr<Character>(nullptr);
|
||||
m_moverSine = std::unique_ptr<MoverSine>(nullptr);
|
||||
}
|
||||
|
||||
///--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue