Fixed compile time error in random_subset_selector::swap()

This commit is contained in:
Davis King 2016-11-22 12:59:24 -05:00
parent cac8f31e7a
commit 233f98125b

View File

@ -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);