Audio: Disable movement for musics

This commit is contained in:
Lynix 2017-09-30 14:45:30 +02:00
parent 85442a14fa
commit 396fd79c9a
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ namespace Nz
public:
Music() = default;
Music(const Music&) = delete;
Music(Music&&) noexcept = default;
Music(Music&&) = delete;
~Music();
bool Create(SoundStream* soundStream);
@ -67,7 +67,7 @@ namespace Nz
void Stop() override;
Music& operator=(const Music&) = delete;
Music& operator=(Music&&) noexcept = default;
Music& operator=(Music&&) = delete;
private:
MovablePtr<MusicImpl> m_impl = nullptr;

View File

@ -52,12 +52,12 @@ namespace Nz
virtual void Stop() = 0;
SoundEmitter& operator=(const SoundEmitter&) = delete; ///TODO
SoundEmitter& operator=(SoundEmitter&&) = delete; ///TODO
SoundEmitter& operator=(SoundEmitter&&) = delete;
protected:
SoundEmitter();
SoundEmitter(const SoundEmitter& emitter);
SoundEmitter(SoundEmitter&&) = delete; ///TODO
SoundEmitter(SoundEmitter&&) = delete;
SoundStatus GetInternalStatus() const;