Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(370)

Unified Diff: src/lte/test/lte-test-pf-ff-mac-scheduler.cc

Issue 338840043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Patch updates for x64 build Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lte/test/lte-test-pathloss-model.cc ('k') | src/lte/test/lte-test-phy-error-model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « src/lte/test/lte-test-pathloss-model.cc ('k') | src/lte/test/lte-test-phy-error-model.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b