From 3aeb96d3b2ec81de37c4f6117d2201633e63ec05 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Wed, 7 Oct 2020 14:41:16 +0200 Subject: [PATCH] Fix a compilation warning, about FileData not copyable --- src/sfizz/FilePool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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...