From 92c4b3f2265e05cea4e9958c471843d8ae0ade39 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Thu, 4 Jun 2020 16:01:16 +0100 Subject: [PATCH] fix non-final sdap/mac/rlc dtor error --- srsenb/hdr/stack/mac/mac_nr.h | 2 +- srsenb/hdr/stack/upper/rlc_nr.h | 2 +- srsenb/hdr/stack/upper/sdap.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srsenb/hdr/stack/mac/mac_nr.h b/srsenb/hdr/stack/mac/mac_nr.h index 920c9cb2c..1101a1409 100644 --- a/srsenb/hdr/stack/mac/mac_nr.h +++ b/srsenb/hdr/stack/mac/mac_nr.h @@ -45,7 +45,7 @@ struct mac_nr_args_t { uint32_t tb_size = 64; }; -class mac_nr : public mac_interface_phy_nr, public mac_interface_rrc_nr, public mac_interface_rlc_nr +class mac_nr final : public mac_interface_phy_nr, public mac_interface_rrc_nr, public mac_interface_rlc_nr { public: mac_nr(); diff --git a/srsenb/hdr/stack/upper/rlc_nr.h b/srsenb/hdr/stack/upper/rlc_nr.h index 2496c027c..35e35b4e5 100644 --- a/srsenb/hdr/stack/upper/rlc_nr.h +++ b/srsenb/hdr/stack/upper/rlc_nr.h @@ -38,7 +38,7 @@ typedef struct { uint8_t* payload; } mch_service_t; -class rlc_nr : public rlc_interface_mac_nr, public rlc_interface_rrc_nr, public rlc_interface_pdcp_nr +class rlc_nr final : public rlc_interface_mac_nr, public rlc_interface_rrc_nr, public rlc_interface_pdcp_nr { public: explicit rlc_nr(const char* logname); diff --git a/srsenb/hdr/stack/upper/sdap.h b/srsenb/hdr/stack/upper/sdap.h index a8b3a175c..aaea69556 100644 --- a/srsenb/hdr/stack/upper/sdap.h +++ b/srsenb/hdr/stack/upper/sdap.h @@ -29,7 +29,7 @@ namespace srsenb { -class sdap : public sdap_interface_pdcp_nr, public sdap_interface_gtpu_nr +class sdap final : public sdap_interface_pdcp_nr, public sdap_interface_gtpu_nr { public: explicit sdap();