diff --git a/src/demod/DemodDefs.h b/src/demod/DemodDefs.h index 12a8dd4..0f49ccd 100644 --- a/src/demod/DemodDefs.h +++ b/src/demod/DemodDefs.h @@ -71,6 +71,13 @@ public: } + DemodulatorThreadIQData & operator=(const DemodulatorThreadIQData &other) { + frequency = other.frequency; + sampleRate = other.sampleRate; + data.assign(other.data.begin(), other.data.end()); + return *this; + } + ~DemodulatorThreadIQData() { }