Fix: SoundBuffer should not move (as a refcount)

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

View File

@@ -17,7 +17,7 @@ namespace Nz
public:
Resource() = default;
Resource(const Resource&) = default;
Resource(Resource&&) = default;
Resource(Resource&&) noexcept = default;
virtual ~Resource();
const String& GetFilePath() const;
@@ -25,7 +25,7 @@ namespace Nz
void SetFilePath(const String& filePath);
Resource& operator=(const Resource&) = default;
Resource& operator=(Resource&&) = default;
Resource& operator=(Resource&&) noexcept = default;
private:
String m_filePath;