Index: src/lte/test/lte-test-pf-ff-mac-scheduler.cc |
=================================================================== |
--- a/src/lte/test/lte-test-pf-ff-mac-scheduler.cc |
+++ b/src/lte/test/lte-test-pf-ff-mac-scheduler.cc |
@@ -186,8 +186,6 @@ |
estThrPfUl.push_back (85000); // User 3 estimated TTI throughput from PF |
estThrPfUl.push_back (26000); // User 4 estimated TTI throughput from PF |
AddTestCase (new LenaPfFfMacSchedulerTestCase2 (dist, estThrPfDl, estThrPfUl,errorModel), TestCase::QUICK); |
- |
- |
} |
static LenaTestPfFfMacSchedulerSuite lenaTestPfFfMacSchedulerSuite; |
@@ -358,6 +356,7 @@ |
std::string |
LenaPfFfMacSchedulerTestCase2::BuildNameString (uint16_t nUser, std::vector<double> dist) |
{ |
+ NS_UNUSED(nUser); |
std::ostringstream oss; |
oss << "distances (m) = [ " ; |
for (std::vector<double>::iterator it = dist.begin (); it != dist.end (); ++it) |
@@ -370,8 +369,8 @@ |
LenaPfFfMacSchedulerTestCase2::LenaPfFfMacSchedulerTestCase2 (std::vector<double> dist, std::vector<uint32_t> estThrPfDl, std::vector<uint32_t> estThrPfUl, bool errorModelEnabled) |
- : TestCase (BuildNameString (dist.size (), dist)), |
- m_nUser (dist.size ()), |
+ : TestCase (BuildNameString (static_cast<uint16_t>(dist.size ()), dist)), |
+ m_nUser (static_cast<uint16_t>(dist.size ())), |
m_dist (dist), |
m_estThrPfDl (estThrPfDl), |
m_estThrPfUl (estThrPfUl), |