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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( 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(-)
Approvals:
laforge: Looks good to me, approved
fixeria: Looks good to me, but someone else must approve
Jenkins Builder: Verified
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: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201024/b5209153/attachment.htm>