gcontini
2020-03-14 79b1b57045e86d9845e352c3f2aa0efbab6111a9
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,6 +29,7 @@
   }
   return is_virtual;
}
VIRTUALIZATION_DETAIL CpuInfo::getVirtualizationDetail() const {
   string cpu_vendor = vendor();
   auto it = virtual_cpu_names.find(cpu_vendor);
@@ -39,4 +41,5 @@
   }
   return result;
}
}  // namespace os
}  // namespace license