Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Core/Resources/Headers/ResourceCache.h

Diff revisions: vs.
  @@ -81,8 +81,10 @@
81 81
82 82 template<typename T>
83 83 inline bool RemoveResource(T*& resource){
84 - DIVIDE_ASSERT( ResourceCache::hasInstance(), Locale::get( "RESOURCE_CACHE_NOT_AVAILABLE" ) );
85 - DIVIDE_ASSERT( dynamic_cast<Resource*>( resource ) != nullptr, Locale::get( "RESOURCE_CACHE_REMOVE_NOT_RESOURCE" ) );
84 + DIVIDE_ASSERT(ResourceCache::hasInstance(),
85 + Locale::get( "RESOURCE_CACHE_NOT_AVAILABLE" ));
86 + DIVIDE_ASSERT(dynamic_cast<Resource*>( resource ) != nullptr,
87 + Locale::get( "RESOURCE_CACHE_REMOVE_NOT_RESOURCE" ));
86 88
87 89 if (ResourceCache::getInstance().remove(resource)) {
88 90 resource = nullptr;