Commit ecfddbad authored by Davis King's avatar Davis King

Minor change to avoid a warning in gcc

parent 7f5e1963
...@@ -131,7 +131,7 @@ namespace dlib ...@@ -131,7 +131,7 @@ namespace dlib
long max_use = 1; long max_use = 1;
if (lru_count.size() != 0) if (lru_count.size() != 0)
max_use = max(vector_to_matrix(lru_count)) + 1; max_use = max(vector_to_matrix(lru_count)) + 1;
lru_count.push_back(lru_count.size()); lru_count.push_back(max_use);
} }
} }
......
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