mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
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 .
This commit is contained in:
parent
3562fe4ccd
commit
0a717f0d27
@ -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,
|
// 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.
|
// it's not clear), so we just make separate specializations for 32/64.
|
||||||
template <class Traits>
|
template <class Traits>
|
||||||
class VM_COUNTERS {};
|
struct VM_COUNTERS {};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class VM_COUNTERS<internal::Traits32> {
|
struct VM_COUNTERS<internal::Traits32> {
|
||||||
SIZE_T PeakVirtualSize;
|
SIZE_T PeakVirtualSize;
|
||||||
SIZE_T VirtualSize;
|
SIZE_T VirtualSize;
|
||||||
ULONG PageFaultCount;
|
ULONG PageFaultCount;
|
||||||
@ -378,7 +378,7 @@ class VM_COUNTERS<internal::Traits32> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
class VM_COUNTERS<internal::Traits64> {
|
struct VM_COUNTERS<internal::Traits64> {
|
||||||
SIZE_T PeakVirtualSize;
|
SIZE_T PeakVirtualSize;
|
||||||
SIZE_T VirtualSize;
|
SIZE_T VirtualSize;
|
||||||
union {
|
union {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user