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
24698f87
Commit
24698f87
authored
Nov 03, 2015
by
Davis King
Browse files
changed test to avoid compiler error in gcc 4.8
parent
3406a290
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
11 deletions
+19
-11
dlib/test/multithreaded_object.cpp
dlib/test/multithreaded_object.cpp
+19
-11
No files found.
dlib/test/multithreaded_object.cpp
View file @
24698f87
...
@@ -183,7 +183,9 @@ namespace
...
@@ -183,7 +183,9 @@ namespace
DLIB_TEST
(
is_running
()
==
false
);
DLIB_TEST
(
is_running
()
==
false
);
}
}
~
test4_c2
()
throw
(
std
::
exception
)
~
test4_c2
()
{
try
{
{
DLIB_TEST
(
number_of_threads_registered
()
==
2
);
DLIB_TEST
(
number_of_threads_registered
()
==
2
);
DLIB_TEST
(
number_of_threads_alive
()
==
2
);
DLIB_TEST
(
number_of_threads_alive
()
==
2
);
...
@@ -196,6 +198,12 @@ namespace
...
@@ -196,6 +198,12 @@ namespace
DLIB_TEST
(
number_of_threads_alive
()
==
0
);
DLIB_TEST
(
number_of_threads_alive
()
==
0
);
DLIB_TEST
(
is_running
()
==
false
);
DLIB_TEST
(
is_running
()
==
false
);
}
}
catch
(
std
::
exception
&
e
)
{
std
::
cerr
<<
e
.
what
()
<<
std
::
endl
;
exit
(
1
);
}
}
private:
private:
...
...
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