Added throw() spec to a throwing destructor.

This commit is contained in:
Davis King 2015-10-27 17:38:35 -04:00
parent f50faa47be
commit 514be3dea0
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ namespace
DLIB_TEST(is_running() == false);
}
~test4_c2()
~test4_c2() throw (std::exception)
{
DLIB_TEST(number_of_threads_registered() == 2);
DLIB_TEST(number_of_threads_alive() == 2);