CPUDetect: Make CPUVendor enum an enum class

Avoids dumping the enum contents into the global namespace.
This commit is contained in:
Lioncash
2018-04-01 17:43:40 -04:00
parent bf8ffe5bfb
commit fd9eab73fb
3 changed files with 11 additions and 11 deletions

View File

@ -57,7 +57,7 @@ void CPUInfo::Detect()
OS64bit = true;
CPU64bit = true;
Mode64bit = true;
vendor = VENDOR_ARM;
vendor = CPUVendor::ARM;
// Get the information about the CPU
num_cores = sysconf(_SC_NPROCESSORS_CONF);