summaryrefslogtreecommitdiffstats
path: root/src/PhaseReference.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-31 21:45:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-31 21:45:25 +0100
commit6aae848f1866a397004dbe7273f95910f0cf1b9f (patch)
treeb7e3613f64cfcaa5c6bd5868c2916f751306b1e4 /src/PhaseReference.h
parent166e885cf6ea7ff4b56d860bc6449c02d03ef5de (diff)
downloaddabmod-6aae848f1866a397004dbe7273f95910f0cf1b9f.tar.gz
dabmod-6aae848f1866a397004dbe7273f95910f0cf1b9f.tar.bz2
dabmod-6aae848f1866a397004dbe7273f95910f0cf1b9f.zip
PhaseReference: replace array by vector
Diffstat (limited to 'src/PhaseReference.h')
-rw-r--r--src/PhaseReference.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PhaseReference.h b/src/PhaseReference.h
index 9ba7233..b4eec82 100644
--- a/src/PhaseReference.h
+++ b/src/PhaseReference.h
@@ -26,11 +26,11 @@
# include <config.h>
#endif
-
#include "ModCodec.h"
#include <sys/types.h>
#include <complex>
+#include <vector>
class PhaseReference : public ModCodec
@@ -50,7 +50,7 @@ protected:
size_t d_carriers;
size_t d_num;
const static unsigned char d_h[4][32];
- std::complex<float>* d_dataIn;
+ std::vector<std::complex<float> > d_dataIn;
void fillData();
};