Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
233f9812
Commit
233f9812
authored
Nov 22, 2016
by
Davis King
Browse files
Fixed compile time error in random_subset_selector::swap()
parent
cac8f31e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/statistics/random_subset_selector.h
dlib/statistics/random_subset_selector.h
+1
-1
No files found.
dlib/statistics/random_subset_selector.h
View file @
233f9812
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment