summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager/resourcemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-29 02:02:04 +0300
commita6d18b282ab916c6536dc25516affeb9200043b6 (patch)
tree9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/resources/resourcemanager/resourcemanager.cpp
parent98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff)
downloadmv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz
mv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2
mv-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz
mv-a6d18b282ab916c6536dc25516affeb9200043b6.zip
Fix code style.s20181102
Diffstat (limited to 'src/resources/resourcemanager/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 5cbf005aa..9ed7b6dde 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -327,7 +327,7 @@ void clearDeleted(const bool full)
std::set<Resource*>::iterator resDelIter = mDeletedResources.begin();
while (resDelIter != mDeletedResources.end())
{
- if ((*resDelIter)->mRefCount == 0u)
+ if ((*resDelIter)->mRefCount == 0U)
{
status = true;
Resource *res = *resDelIter;
@@ -604,7 +604,7 @@ void deleteInstance()
const Resource *const res = iter->second;
if (res != nullptr)
{
- if (res->mRefCount != 0u)
+ if (res->mRefCount != 0U)
{
logger->log(std::string("ResourceLeak: ").append(
res->mIdPath).append(" (").append(toString(