Merge pull request #480 from jpcima/file-data-copy-delete
Fix a compilation warning, about FileData not copyable
This commit is contained in:
commit
ebc47e2c48
1 changed files with 2 additions and 2 deletions
|
|
@ -80,8 +80,8 @@ struct FileData
|
|||
return AudioSpan<const float>(preloadedData);
|
||||
}
|
||||
|
||||
FileData(const FileData& other) = default;
|
||||
FileData& operator=(const FileData& other) = default;
|
||||
FileData(const FileData& other) = delete;
|
||||
FileData& operator=(const FileData& other) = delete;
|
||||
FileData(FileData&& other)
|
||||
{
|
||||
ASSERT(other.readerCount == 0); // Probably should not be moving this...
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue