summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-12-11 14:16:08 -0800
committerMartin Braun <martin.braun@ettus.com>2018-12-12 09:52:07 -0800
commit707e634434f23b57e0b609fb15d13c690fdee943 (patch)
treec0f0092e73de6efc0c809865793d7f012b2fee24
parentc9a395ed8ec1195f5f93e249d69bd904f66dd4eb (diff)
qtgui: Fix compiler warnings (-Wreorder)
-rw-r--r--gr-qtgui/lib/freq_sink_f_impl.cc5
-rw-r--r--gr-qtgui/lib/vector_sink_f_impl.cc4
2 files changed, 5 insertions, 4 deletions
diff --git a/gr-qtgui/lib/freq_sink_f_impl.cc b/gr-qtgui/lib/freq_sink_f_impl.cc
index 2b14f02d72..22c14e7f88 100644
--- a/gr-qtgui/lib/freq_sink_f_impl.cc
+++ b/gr-qtgui/lib/freq_sink_f_impl.cc
@@ -62,8 +62,9 @@ namespace gr {
d_fftsize(fftsize), d_fftavg(1.0),
d_wintype((filter::firdes::win_type)(wintype)),
d_center_freq(fc), d_bandwidth(bw), d_name(name),
- d_nconnections(nconnections), d_parent(parent),
- d_port(pmt::mp("freq"))
+ d_nconnections(nconnections),
+ d_port(pmt::mp("freq")),
+ d_parent(parent)
{
// Required now for Qt; argc must be greater than 0 and argv
// must have at least one valid character. Must be valid through
diff --git a/gr-qtgui/lib/vector_sink_f_impl.cc b/gr-qtgui/lib/vector_sink_f_impl.cc
index 705482266e..ebdb176575 100644
--- a/gr-qtgui/lib/vector_sink_f_impl.cc
+++ b/gr-qtgui/lib/vector_sink_f_impl.cc
@@ -81,8 +81,8 @@ namespace gr {
d_name(name),
d_nconnections(nconnections),
d_msg(pmt::mp("x")),
- d_parent(parent),
- d_port(pmt::mp(MSG_PORT_OUT_XVAL))
+ d_port(pmt::mp(MSG_PORT_OUT_XVAL)),
+ d_parent(parent)
{
// Required now for Qt; argc must be greater than 0 and argv
// must have at least one valid character. Must be valid through