aboutsummaryrefslogtreecommitdiff
path: root/src/framework/Policies/ObjectLifeTime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/Policies/ObjectLifeTime.h')
-rw-r--r--src/framework/Policies/ObjectLifeTime.h8
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
{