diff options
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r-- | src/resources/resource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp index 40d44a7ec..a16f088a3 100644 --- a/src/resources/resource.cpp +++ b/src/resources/resource.cpp @@ -24,8 +24,6 @@ #include "logger.h" -#include "resources/memorycounter.h" -#include "resources/memorymanager.h" #include "resources/resourcemanager.h" #include "debug.h" @@ -73,7 +71,7 @@ void Resource::decRef() int Resource::calcMemoryLocal() { - return sizeof(Resource) + + return CAST_S32(sizeof(Resource)) + CAST_S32(mIdPath.size()) + CAST_S32(mSource.size()); } |