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

Unified Diff: src/energy/helper/energy-source-container.cc

Issue 336110043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch per coding style requirements Created 6 years 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/energy/helper/energy-harvester-container.cc ('k') | src/energy/model/device-energy-model-container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/energy/helper/energy-source-container.cc
===================================================================
--- a/src/energy/helper/energy-source-container.cc
+++ b/src/energy/helper/energy-source-container.cc
@@ -81,7 +81,7 @@
uint32_t
EnergySourceContainer::GetN (void) const
{
- return m_sources.size ();
+ return static_cast<uint32_t> (m_sources.size ());
}
Ptr<EnergySource>
« no previous file with comments | « src/energy/helper/energy-harvester-container.cc ('k') | src/energy/model/device-energy-model-container.cc » ('j') | no next file with comments »

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