From a6d18b282ab916c6536dc25516affeb9200043b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Oct 2018 02:02:04 +0300 Subject: Fix code style. --- src/resources/resourcemanager/resourcemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/resourcemanager/resourcemanager.cpp') 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::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( -- cgit v1.2.3-70-g09d2