mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
Remove pointer check
This commit is contained in:
parent
50fd52377f
commit
9aea2843ac
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ DependencyManager& DependencyManager::getInstance() {
|
||||||
|
|
||||||
DependencyManager::~DependencyManager() {
|
DependencyManager::~DependencyManager() {
|
||||||
foreach (Dependency* instance, _instanceHash) {
|
foreach (Dependency* instance, _instanceHash) {
|
||||||
if (instance) {
|
delete instance;
|
||||||
delete instance;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
_instanceHash.clear();
|
_instanceHash.clear();
|
||||||
}
|
}
|
Loading…
Reference in a new issue