mirror of https://github.com/davisking/dlib.git
Added throw() spec to a throwing destructor.
This commit is contained in:
parent
f50faa47be
commit
514be3dea0
|
@ -183,7 +183,7 @@ namespace
|
||||||
DLIB_TEST(is_running() == false);
|
DLIB_TEST(is_running() == false);
|
||||||
}
|
}
|
||||||
|
|
||||||
~test4_c2()
|
~test4_c2() throw (std::exception)
|
||||||
{
|
{
|
||||||
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);
|
||||||
|
|
Loading…
Reference in New Issue