mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed compile time error in random_subset_selector::swap()
This commit is contained in:
parent
cac8f31e7a
commit
233f98125b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user