From fc9ff9c8779c1810a2b949180789bea1f9503d30 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Wed, 9 Sep 2015 23:46:23 -0400 Subject: [PATCH] iq data operator --- src/demod/DemodDefs.h | 7 +++++++ 1 file changed, 7 insertions(+) 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() { }