1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-10 04:03:02 +00:00

Fixes for old GCC

This commit is contained in:
Carles Fernandez
2020-04-26 12:28:24 +02:00
parent 6de4d28ab1
commit c27622a738
11 changed files with 13 additions and 21 deletions

View File

@@ -74,7 +74,7 @@ hybrid_observables_gs::hybrid_observables_gs(const Obs_Conf &conf_) : gr::block(
this->message_port_register_in(pmt::mp("pvt_to_observables"));
this->set_msg_handler(pmt::mp("pvt_to_observables"),
#if HAS_GENERIC_LAMBDA
[this](auto &&PH1) { msg_handler_pvt_to_observables(PH1); });
[this](pmt::pmt_t &&PH1) { msg_handler_pvt_to_observables(PH1); });
#else
boost::bind(&hybrid_observables_gs::msg_handler_pvt_to_observables, this, _1));
#endif