Commit 2c60e31f authored by Davis King's avatar Davis King

minor change to avoid warning in gcc

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404050
parent 49949aec
...@@ -143,7 +143,7 @@ namespace dlib ...@@ -143,7 +143,7 @@ namespace dlib
} }
// now figure out who had the most votes // now figure out who had the most votes
label_type best_label; label_type best_label = label_type();
int best_votes = 0; int best_votes = 0;
for (typename std::map<label_type,int>::iterator i = votes.begin(); i != votes.end(); ++i) for (typename std::map<label_type,int>::iterator i = votes.begin(); i != votes.end(); ++i)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment