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

Unified Diff: src/buildings/helper/building-container.cc

Issue 331230043: 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
Index: src/buildings/helper/building-container.cc
===================================================================
--- a/src/buildings/helper/building-container.cc
+++ b/src/buildings/helper/building-container.cc
@@ -53,7 +53,7 @@
uint32_t
BuildingContainer::GetN (void) const
{
- return m_buildings.size ();
+ return static_cast<uint32_t> (m_buildings.size ());
}
Ptr<Building>
BuildingContainer::Get (uint32_t i) const
« no previous file with comments | « src/buildings/examples/buildings-pathloss-profiler.cc ('k') | src/buildings/helper/building-position-allocator.h » ('j') | no next file with comments »

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