From 3fd5098325550218d301e3a78c650201b2cb6233 Mon Sep 17 00:00:00 2001 From: Cinder <cinder@sdf.org> Date: Thu, 28 Jan 2016 11:11:29 -0700 Subject: [PATCH] Useless test with C++11 --- .../llcommon/tests/llinstancetracker_test.cpp | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/indra/llcommon/tests/llinstancetracker_test.cpp b/indra/llcommon/tests/llinstancetracker_test.cpp index b6cd64646c..d7dbb6609a 100755 --- a/indra/llcommon/tests/llinstancetracker_test.cpp +++ b/indra/llcommon/tests/llinstancetracker_test.cpp @@ -189,30 +189,6 @@ namespace tut ensure_equals("unreported instance", instances.size(), 0); } - template<> template<> - void object::test<5>() - { -#if defined(LL_CPP11) - skip("Skip on c++11 for now. Exceptions in destructors are unsafe by default."); -#endif - set_test_name("delete Keyed with outstanding instance_iter"); - std::string what; - Keyed* keyed = new Keyed("delete Keyed with outstanding instance_iter"); - { - WrapLLErrs wrapper; - Keyed::instance_iter i(Keyed::beginInstances()); - try - { - delete keyed; - } - catch (const WrapLLErrs::FatalException& e) - { - what = e.what(); - } - } - ensure(! what.empty()); - } - template<> template<> void object::test<6>() { -- GitLab