changeset 194:705be3bb9472

These classes are not copyable/assignable
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 07 Oct 2019 10:58:44 +0100
parents 8b78ce63f0e1
children 0706882664ea
files cq/CQSpectrogram.h cq/ConstantQ.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cq/CQSpectrogram.h	Tue Nov 28 09:25:17 2017 +0000
+++ b/cq/CQSpectrogram.h	Mon Oct 07 10:58:44 2019 +0100
@@ -117,6 +117,10 @@
     RealBlock fetchLinear(bool insist);
     RealBlock linearInterpolated(const RealBlock &, int, int);
     RealColumn m_prevColumn;
+
+    // Not provided (because ConstantQ isn't copyable)
+    CQSpectrogram(const CQSpectrogram &);
+    CQSpectrogram &operator=(const CQSpectrogram &);
 };
 
 #endif
--- a/cq/ConstantQ.h	Tue Nov 28 09:25:17 2017 +0000
+++ b/cq/ConstantQ.h	Mon Oct 07 10:58:44 2019 +0100
@@ -124,6 +124,10 @@
 
     void initialise();
     ComplexBlock processOctaveBlock(int octave);
+
+    // Not provided
+    ConstantQ(const ConstantQ &);
+    ConstantQ &operator=(const ConstantQ &);
 };
 
 #endif