mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 15:47:02 +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() {
|
||||
foreach (Dependency* instance, _instanceHash) {
|
||||
if (instance) {
|
||||
delete instance;
|
||||
}
|
||||
delete instance;
|
||||
}
|
||||
_instanceHash.clear();
|
||||
}
|
Loading…
Reference in a new issue