Move constructor gprs_rlcmac_dl_tbf::BandWidth to correct file
Change-Id: I7587fd2ee97424020a099a8513f95544d6635f3d
diff --git a/src/tbf.cpp b/src/tbf.cpp
index ac84de2..90ee4cf 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1036,16 +1036,6 @@
return tbf;
}
-gprs_rlcmac_dl_tbf::BandWidth::BandWidth() :
- dl_bw_octets(0),
- dl_throughput(0),
- dl_loss_lost(0),
- dl_loss_received(0)
-{
- timespecclear(&dl_bw_tv);
- timespecclear(&dl_loss_tv);
-}
-
static int dl_tbf_dtor(struct gprs_rlcmac_dl_tbf *tbf)
{
tbf->~gprs_rlcmac_dl_tbf();
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index e6be3c3..fc03c0b 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -75,6 +75,16 @@
tbf->request_dl_ack();
}
+gprs_rlcmac_dl_tbf::BandWidth::BandWidth() :
+ dl_bw_octets(0),
+ dl_throughput(0),
+ dl_loss_lost(0),
+ dl_loss_received(0)
+{
+ timespecclear(&dl_bw_tv);
+ timespecclear(&dl_loss_tv);
+}
+
gprs_rlcmac_dl_tbf::gprs_rlcmac_dl_tbf(BTS *bts_) :
gprs_rlcmac_tbf(bts_, GPRS_RLCMAC_DL_TBF),
m_tx_counter(0),