Commit 233f9812 authored by Davis King's avatar Davis King

Fixed compile time error in random_subset_selector::swap()

parent cac8f31e
...@@ -170,7 +170,7 @@ namespace dlib ...@@ -170,7 +170,7 @@ namespace dlib
random_subset_selector& a random_subset_selector& a
) )
{ {
a.swap(a.items); items.swap(a.items);
std::swap(_max_size, a._max_size); std::swap(_max_size, a._max_size);
std::swap(count, a.count); std::swap(count, a.count);
rnd.swap(a.rnd); rnd.swap(a.rnd);
......
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