summaryrefslogtreecommitdiff
path: root/src/resources/atlasresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/atlasresource.cpp')
-rw-r--r--src/resources/atlasresource.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/atlasresource.cpp b/src/resources/atlasresource.cpp
index 0ec211979..9f27446bd 100644
--- a/src/resources/atlasresource.cpp
+++ b/src/resources/atlasresource.cpp
@@ -53,8 +53,7 @@ AtlasResource::~AtlasResource()
delete atlas;
}
}
- ResourceManager *const resman = ResourceManager::getInstance();
- resman->clearDeleted(false);
+ resourceManager->clearDeleted(false);
}
void AtlasResource::incRef()