From ce443b95a102a1b0d94216098ff2b02b493d2698 Mon Sep 17 00:00:00 2001 From: algernon-A Date: Mon, 12 Dec 2022 23:22:29 +1100 Subject: [PATCH] Minor tweak. --- Code/Profiling/MemoryAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Profiling/MemoryAPI.cs b/Code/Profiling/MemoryAPI.cs index 4ae6192..9f93a59 100644 --- a/Code/Profiling/MemoryAPI.cs +++ b/Code/Profiling/MemoryAPI.cs @@ -188,7 +188,7 @@ private struct PROCESS_MEMORY_COUNTERS /// Contains information about the current state of both physical and virtual memory, including extended memory. /// [StructLayout(LayoutKind.Sequential)] - private struct MEMORYSTATUSEX + private readonly struct MEMORYSTATUSEX { /// /// Structure size, in bytes - MUST be assigned before use.