From 43db9b81fb7aa118d1ee975f8204b02f09380a46 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 3 Jul 2020 20:35:24 +0100 Subject: [PATCH] fix function ptr issue --- srsue/src/stack/rrc/rrc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index efee8ecee..9c9a61af8 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -360,7 +360,7 @@ void rrc::process_cell_meas() void rrc::process_new_cell_meas(const std::vector& meas) { - const static std::function filter = [this](cell_t& c, const phy_meas_t& m) { + const std::function filter = [this](cell_t& c, const phy_meas_t& m) { c.set_rsrp(measurements->rsrp_filter(m.rsrp, c.get_rsrp())); c.set_rsrq(measurements->rsrq_filter(m.rsrq, c.get_rsrq())); c.set_cfo(m.cfo_hz);