Gabriele Contini
2020-03-15 430f771c7d5fccec471f9879659f13ef4a3c8ebd
src/library/os/cpu_info_common.cpp
@@ -8,6 +8,7 @@
#include "cpu_info.hpp"
namespace license {
namespace os {
using namespace std;
const unordered_map<string, VIRTUALIZATION_DETAIL> virtual_cpu_names{
@@ -28,7 +29,8 @@
   }
   return is_virtual;
}
VIRTUALIZATION_DETAIL CpuInfo::getVirtualizationDetail() const {
VIRTUALIZATION_DETAIL CpuInfo::virtualization_details() const {
   string cpu_vendor = vendor();
   auto it = virtual_cpu_names.find(cpu_vendor);
   VIRTUALIZATION_DETAIL result = BARE_TO_METAL;
@@ -39,4 +41,5 @@
   }
   return result;
}
}  // namespace os
}  // namespace license