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:
parent
41cf9e0324
commit
abd64fced4
1 changed files with 1 additions and 1 deletions
|
@ -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_,
|
||||||
|
|
Loading…
Reference in a new issue