summaryrefslogtreecommitdiff
path: root/src/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.cpp')
-rw-r--r--src/timer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index f9abf8114..9bc37012d 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -43,12 +43,12 @@ void TimerManager::TickTimers(time_t TIME)
}
else
{
- DELETE(n);
+ delete n;
}
}
Timers.erase(found);
- DELETE(x);
+ delete x;
}
this->CantDeleteHere = false;
@@ -84,12 +84,12 @@ void TimerManager::DelTimer(Timer* T)
Timer* n = *y;
if (n == T)
{
- DELETE(n);
+ delete n;
x->erase(y);
if (!x->size())
{
Timers.erase(found);
- DELETE(x);
+ delete x;
}
return;
}