From b2aae8763b7e1729968354bfc27d7523099443da Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Mon, 1 Jun 2020 14:39:38 +0100 Subject: [PATCH] made mac_nr and rrc_nr final to avoid using virtual dtors --- srsue/hdr/stack/mac/mac_nr.h | 2 +- srsue/hdr/stack/rrc/rrc_nr.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srsue/hdr/stack/mac/mac_nr.h b/srsue/hdr/stack/mac/mac_nr.h index 063c03858..a5d782c61 100644 --- a/srsue/hdr/stack/mac/mac_nr.h +++ b/srsue/hdr/stack/mac/mac_nr.h @@ -36,7 +36,7 @@ struct mac_nr_args_t { srsue::pcap_args_t pcap; }; -class mac_nr : public mac_interface_phy_nr, public mac_interface_rrc_nr +class mac_nr final : public mac_interface_phy_nr, public mac_interface_rrc_nr { public: mac_nr(); diff --git a/srsue/hdr/stack/rrc/rrc_nr.h b/srsue/hdr/stack/rrc/rrc_nr.h index 8f2b16e87..8822a636f 100644 --- a/srsue/hdr/stack/rrc/rrc_nr.h +++ b/srsue/hdr/stack/rrc/rrc_nr.h @@ -47,10 +47,10 @@ struct rrc_nr_args_t { struct rrc_nr_metrics_t {}; -class rrc_nr : public rrc_interface_phy_nr, - public rrc_interface_pdcp, - public rrc_interface_rlc, - public srslte::timer_callback +class rrc_nr final : public rrc_interface_phy_nr, + public rrc_interface_pdcp, + public rrc_interface_rlc, + public srslte::timer_callback { public: rrc_nr();