Downgrade an assert to a warning
Change-Id: I26b623ded575e2c0b22dff19ae6cabae42003c1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191951 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@iki.fi>
This commit is contained in:
@@ -454,7 +454,8 @@ void ImplSVData::dropCaches()
|
||||
}
|
||||
|
||||
#if defined __cpp_lib_memory_resource
|
||||
assert(!bAllCachesDropped || CacheMemory::GetMemoryResource().GetAllocatedPages() == 0);
|
||||
SAL_WARN_IF(!(!bAllCachesDropped || CacheMemory::GetMemoryResource().GetAllocatedPages() == 0),
|
||||
"vcl", "Cache pages still allocated after cache memory fully dropped");
|
||||
#endif
|
||||
(void)bAllCachesDropped;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user