aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioVector.h
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-11-09 02:46:29 -0500
committerThomas Tsou <tom@tsou.cc>2013-11-15 23:35:07 -0500
commite0fa2bfd937406cbaf992f8d16d0a262dd6ddd87 (patch)
tree0e709be5c14e868cbb52ed9b083190f702fa7889 /Transceiver52M/radioVector.h
parent6f4906e375999c242c6e84e1e59cf478490763ed (diff)
Transceiver52M: Remove extra copy in receive drive path
Currently the code allocations a signalVector and then copies into a radioVector. This is unnecessary because the latter is a derived class making the first allocation unnecessary. Modify the radioVector constructor to allow direct use in the case above. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioVector.h')
-rw-r--r--Transceiver52M/radioVector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Transceiver52M/radioVector.h b/Transceiver52M/radioVector.h
index 0b38bff..5ddb638 100644
--- a/Transceiver52M/radioVector.h
+++ b/Transceiver52M/radioVector.h
@@ -29,6 +29,7 @@
class radioVector : public signalVector {
public:
radioVector(const signalVector& wVector, GSM::Time& wTime);
+ radioVector(size_t size, GSM::Time& wTime);
GSM::Time getTime() const;
void setTime(const GSM::Time& wTime);
bool operator>(const radioVector& other) const;