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:
Tor Lillqvist
2025-10-08 10:00:54 +02:00
parent c122b85b99
commit f3b250fa28
+2 -1
View File
@@ -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;
}