diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /src/framework/Policies/ObjectLifeTime.h | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*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
Diffstat (limited to 'src/framework/Policies/ObjectLifeTime.h')
-rw-r--r-- | src/framework/Policies/ObjectLifeTime.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/framework/Policies/ObjectLifeTime.h b/src/framework/Policies/ObjectLifeTime.h index 86303f889fb..51765d4d4b4 100644 --- a/src/framework/Policies/ObjectLifeTime.h +++ b/src/framework/Policies/ObjectLifeTime.h @@ -17,19 +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 */ - #ifndef TRINITY_OBJECTLIFETIME_H #define TRINITY_OBJECTLIFETIME_H - #include <stdexcept> #include "Platform/Define.h" - typedef void (* Destroyer)(void); - namespace Trinity { void TRINITY_DLL_SPEC at_exit( void (*func)() ); - template <class T> class TRINITY_DLL_DECL ObjectLifeTime { @@ -38,11 +33,8 @@ namespace Trinity { at_exit( destroyer ); } - DECLSPEC_NORETURN static void OnDeadReference(void) ATTR_NORETURN; - }; - template <class T> void ObjectLifeTime<T>::OnDeadReference(void) // We don't handle Dead Reference for now { |