X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fobject-profiler.cpp;h=6ddc44bf58c4b34b5333fe473a46fc74d456c4c7;hb=15cb030e9396d29dab2de0bd298c1daf810bcf5f;hp=ff83c38a903892f70ffefb3e8250c0bf71540eef;hpb=3259f7e05d09669ec473725ac360652beb6ed0b3;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/system/common/object-profiler.cpp b/dali/internal/system/common/object-profiler.cpp index ff83c38..6ddc44b 100644 --- a/dali/internal/system/common/object-profiler.cpp +++ b/dali/internal/system/common/object-profiler.cpp @@ -139,7 +139,7 @@ std::size_t ObjectProfiler::GetMemorySize( const std::string& name, uint32_t cou struct MemoryMemorySize { std::string name; - decltype(ANIMATION_MEMORY_SIZE) memorySize; + std::size_t memorySize; }; MemoryMemorySize memoryMemorySizes[] = { @@ -161,7 +161,7 @@ std::size_t ObjectProfiler::GetMemorySize( const std::string& name, uint32_t cou { if( memoryMemorySizes[i].name.compare(name) == 0 ) { - return count * static_cast( memoryMemorySizes[i].memorySize ); + return count * memoryMemorySizes[i].memorySize; } } return 0;