Fix a compilation warning, about FileData not copyable
This commit is contained in:
parent
2fc6aab964
commit
3aeb96d3b2
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