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

Unified Diff: src/lte/test/lte-test-tdbet-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-spectrum-value-helper.cc ('k') | src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc
===================================================================
--- a/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc
+++ b/src/lte/test/lte-test-tdbet-ff-mac-scheduler.cc
@@ -342,6 +342,7 @@
std::string
LenaTdBetFfMacSchedulerTestCase2::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)
@@ -354,8 +355,8 @@
LenaTdBetFfMacSchedulerTestCase2::LenaTdBetFfMacSchedulerTestCase2 (std::vector<double> dist, std::vector<uint32_t> estAchievableRateDl, std::vector<uint32_t> estThrTdBetUl, 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_achievableRateDl (estAchievableRateDl),
m_estThrTdBetUl (estThrTdBetUl),
« no previous file with comments | « src/lte/test/lte-test-spectrum-value-helper.cc ('k') | src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc » ('j') | no next file with comments »

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