From 26b5e033ffde3d161382fc9addbfa99738379641 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 17 Oct 2009 15:35:07 -0700 Subject: *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk --- src/framework/Policies/ObjectLifeTime.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/framework/Policies/ObjectLifeTime.cpp') diff --git a/src/framework/Policies/ObjectLifeTime.cpp b/src/framework/Policies/ObjectLifeTime.cpp index 852e382a0e9..d86e96a8e87 100644 --- a/src/framework/Policies/ObjectLifeTime.cpp +++ b/src/framework/Policies/ObjectLifeTime.cpp @@ -17,17 +17,14 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #include #include "ObjectLifeTime.h" - namespace Trinity { extern "C" void external_wrapper(void *p) { std::atexit( (void (*)())p ); } - void TRINITY_DLL_SPEC at_exit( void (*func)() ) { external_wrapper((void*)func); -- cgit v1.2.3