diff --git a/uppsrc/Core/Diag.h b/uppsrc/Core/Diag.h index 6d51d00c2..75780ba8e 100644 --- a/uppsrc/Core/Diag.h +++ b/uppsrc/Core/Diag.h @@ -240,7 +240,11 @@ void DumpMap(Stream& s, const T& t) { s << LOG_END; } +#ifdef flagUSEMALLOC +inline String AsString(const MemoryProfile&) { return "Using malloc - no memory profile available"; } +#else String AsString(const MemoryProfile& mem); +#endif String CppDemangle(const char* name);