From 0a717f0d27ffd2e84edb937e9c6400926c0e26dd Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Thu, 19 Nov 2015 14:26:36 -0800 Subject: [PATCH] win: class VM_COUNTERS -> struct The fields aren't accessed anyway, but clang warns that they're completely inaccessible. Also, matches all the other definitions in this file. R=mark@chromium.org Review URL: https://codereview.chromium.org/1462203002 . --- util/win/process_structs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/win/process_structs.h b/util/win/process_structs.h index 5850ddec..e33c4fb0 100644 --- a/util/win/process_structs.h +++ b/util/win/process_structs.h @@ -360,10 +360,10 @@ struct SYSTEM_THREAD_INFORMATION { // There's an extra field in the x64 VM_COUNTERS (or maybe it's VM_COUNTERS_EX, // it's not clear), so we just make separate specializations for 32/64. template -class VM_COUNTERS {}; +struct VM_COUNTERS {}; template <> -class VM_COUNTERS { +struct VM_COUNTERS { SIZE_T PeakVirtualSize; SIZE_T VirtualSize; ULONG PageFaultCount; @@ -378,7 +378,7 @@ class VM_COUNTERS { }; template <> -class VM_COUNTERS { +struct VM_COUNTERS { SIZE_T PeakVirtualSize; SIZE_T VirtualSize; union {