From 9f70940114d10f4fcaa61b133f25a04c6dd9aaad Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 7 Jun 2017 20:41:56 +0200 Subject: [PATCH] Small fix --- src/utils/front-end-cal/main.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/front-end-cal/main.cc b/src/utils/front-end-cal/main.cc index c6ec2ed40..5f22068bf 100644 --- a/src/utils/front-end-cal/main.cc +++ b/src/utils/front-end-cal/main.cc @@ -32,6 +32,7 @@ #define FRONT_END_CAL_VERSION "0.0.1" #endif +#include #include #include #include @@ -372,13 +373,14 @@ int main(int argc, char** argv) gr::block_sptr source; source = gr::blocks::file_source::make(sizeof(gr_complex), "tmp_capture.dat"); + boost::shared_ptr msg_rx; try { - boost::shared_ptr msg_rx = FrontEndCal_msg_rx_make(); + msg_rx = FrontEndCal_msg_rx_make(); } catch(const std::exception & e) { - std::cout << "Failure connecting the message port system: " << e.what() << std::endl; + std::cout << "Failure connecting the message port system: " << e.what() << std::endl; exit(0); } //gr_basic_block_sptr head = gr_make_head(sizeof(gr_complex), nsamples);