diff --git a/src/sfizz/FilePool.h b/src/sfizz/FilePool.h index 84cf06ed..109394b4 100644 --- a/src/sfizz/FilePool.h +++ b/src/sfizz/FilePool.h @@ -80,8 +80,8 @@ struct FileData return AudioSpan(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...