3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 06:55:39 +02:00

Remove pointer check

This commit is contained in:
Atlante45 2014-12-12 21:20:26 -08:00
parent 50fd52377f
commit 9aea2843ac

View file

@ -18,9 +18,7 @@ DependencyManager& DependencyManager::getInstance() {
DependencyManager::~DependencyManager() {
foreach (Dependency* instance, _instanceHash) {
if (instance) {
delete instance;
}
delete instance;
}
_instanceHash.clear();
}