Change in osmo-pcu[master]: Move constructor gprs_rlcmac_dl_tbf::BandWidth to correct file

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Oct 23 20:42:51 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/20855 )


Change subject: Move constructor gprs_rlcmac_dl_tbf::BandWidth to correct file
......................................................................

Move constructor gprs_rlcmac_dl_tbf::BandWidth to correct file

Change-Id: I7587fd2ee97424020a099a8513f95544d6635f3d
---
M src/tbf.cpp
M src/tbf_dl.cpp
2 files changed, 10 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/55/20855/1

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),

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/20855
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I7587fd2ee97424020a099a8513f95544d6635f3d
Gerrit-Change-Number: 20855
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201023/b43c570d/attachment.htm>


More information about the gerrit-log mailing list