From fa3743d524b642f41e33c8a39ca385247310df94 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Sun, 16 Aug 2009 20:33:52 +0000 Subject: [PATCH] undo removing warning. https://sourceforge.net/forum/message.php?msg_id=7564865 git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1016 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/Singleton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/loki/Singleton.h b/include/loki/Singleton.h index 83da01e..e028372 100644 --- a/include/loki/Singleton.h +++ b/include/loki/Singleton.h @@ -815,8 +815,8 @@ namespace Loki { if (destroyed_) { - destroyed_ = false; LifetimePolicy::OnDeadReference(); + destroyed_ = false; } pInstance_ = CreationPolicy::Create(); LifetimePolicy::ScheduleDestruction(pInstance_,