Changed order of actions to remove warning.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1129 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2011-10-03 04:39:17 +00:00
parent 41cf9e0324
commit abd64fced4

View file

@ -829,8 +829,8 @@ namespace Loki
{ {
if (destroyed_) if (destroyed_)
{ {
LifetimePolicy<T>::OnDeadReference();
destroyed_ = false; destroyed_ = false;
LifetimePolicy<T>::OnDeadReference();
} }
pInstance_ = CreationPolicy<T>::Create(); pInstance_ = CreationPolicy<T>::Create();
LifetimePolicy<T>::ScheduleDestruction(pInstance_, LifetimePolicy<T>::ScheduleDestruction(pInstance_,