DRTVWR-418: VertexMap::mapped_type -> size_t: we store map.size().

meow-7.2.2
Nat Goodspeed 2016-11-30 16:24:32 -05:00
parent 55ce854a0c
commit d4b23ccb8a
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ public:
// been explicitly added. Rely on std::map rejecting a second attempt
// to insert the same key. Use the map's size() as the vertex number
// to get a distinct value for each successful insertion.
typedef std::map<KEY, int> VertexMap;
typedef std::map<KEY, std::size_t> VertexMap;
VertexMap vmap;
// Nest each of these loops because !@#$%? MSVC warns us that its
// former broken behavior has finally been fixed -- and our builds