From 12e7e16754cb7594c70a4f027bc71cb2eb137314 Mon Sep 17 00:00:00 2001 From: Natale Patriciello Date: Wed, 24 Oct 2018 20:15:56 +0200 Subject: [PATCH] lte: ComponentCarrier subclasses can override Set{Dl,Ul}Bandwidth These two methos are changed by the subclass in NR and mmWave module. --- src/lte/model/component-carrier.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lte/model/component-carrier.h b/src/lte/model/component-carrier.h index 0eebfe8cc..6944e9eb3 100644 --- a/src/lte/model/component-carrier.h +++ b/src/lte/model/component-carrier.h @@ -63,7 +63,7 @@ public: /** * \param bw the uplink bandwidth in RBs */ - void SetUlBandwidth (uint8_t bw); + virtual void SetUlBandwidth (uint8_t bw); /** * \return the downlink bandwidth in RBs @@ -73,7 +73,7 @@ public: /** * \param bw the downlink bandwidth in RBs */ - void SetDlBandwidth (uint8_t bw); + virtual void SetDlBandwidth (uint8_t bw); /** * \return the downlink carrier frequency (EARFCN)