diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-08 20:30:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-08 20:30:40 +0300 |
commit | fd3223578c0a0789627a92cc63235c24e75f87c3 (patch) | |
tree | 48b90671150a8ea4a7d3b9306d3eabca349d556a /src/resources/atlas/atlasresource.cpp | |
parent | 27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (diff) | |
download | plus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.gz plus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.bz2 plus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.xz plus-fd3223578c0a0789627a92cc63235c24e75f87c3.zip |
Remove most setters and getters from Resource class.
Diffstat (limited to 'src/resources/atlas/atlasresource.cpp')
-rw-r--r-- | src/resources/atlas/atlasresource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/atlasresource.cpp b/src/resources/atlas/atlasresource.cpp index 06ae62542..eab7c660e 100644 --- a/src/resources/atlas/atlasresource.cpp +++ b/src/resources/atlas/atlasresource.cpp @@ -58,7 +58,7 @@ AtlasResource::~AtlasResource() void AtlasResource::incRef() { - if (!getRefCount()) + if (!mRefCount) AtlasManager::injectToResources(this); Resource::incRef(); } @@ -66,7 +66,7 @@ void AtlasResource::incRef() void AtlasResource::decRef() { Resource::decRef(); - if (!getRefCount()) + if (!mRefCount) AtlasManager::moveToDeleted(this); } |