From 26cb1838defaa865e6e1996b7b3bbba84fd38910 Mon Sep 17 00:00:00 2001 From: Qword Date: Thu, 26 Feb 2026 22:30:52 +0500 Subject: [PATCH] fix compilation in vs2025 --- src/vmaware.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vmaware.hpp b/src/vmaware.hpp index eee83f6a..4f609276 100644 --- a/src/vmaware.hpp +++ b/src/vmaware.hpp @@ -10906,9 +10906,9 @@ struct VM { // ok so if the CPU is intel, the motherboard should be intel aswell (and same with AMD) // this doesnt happen in most public hardened configs out there so lets abuse it - constexpr unsigned int VID_INTEL = 0x8086; - constexpr unsigned int VID_AMD_ATI = 0x1002; - constexpr unsigned int VID_AMD_MICRO = 0x1022; + static constexpr unsigned int VID_INTEL = 0x8086; + static constexpr unsigned int VID_AMD_ATI = 0x1002; + static constexpr unsigned int VID_AMD_MICRO = 0x1022; enum class MBVendor { Unknown = 0, Intel = 1, AMD = 2 };