Skip to content
Snippets Groups Projects
Commit d4b23ccb authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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

parent 55ce854a
No related branches found
No related tags found
No related merge requests found
...@@ -508,7 +508,7 @@ class LLDependencies: public LLDependenciesBase ...@@ -508,7 +508,7 @@ class LLDependencies: public LLDependenciesBase
// been explicitly added. Rely on std::map rejecting a second attempt // 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 insert the same key. Use the map's size() as the vertex number
// to get a distinct value for each successful insertion. // 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; VertexMap vmap;
// Nest each of these loops because !@#$%? MSVC warns us that its // Nest each of these loops because !@#$%? MSVC warns us that its
// former broken behavior has finally been fixed -- and our builds // former broken behavior has finally been fixed -- and our builds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment