Win 10 Universal bits were broken by recent refactor

This commit is contained in:
Max Golovanov 2020-05-13 03:30:18 -07:00
Родитель f70188b9ab
Коммит d71688676d
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -44,7 +44,8 @@ namespace PAL_NS_BEGIN {
}
///// IDeviceInformation API
DeviceInformationImpl::DeviceInformationImpl() :m_registeredCount(0),
DeviceInformationImpl::DeviceInformationImpl(MAT::IRuntimeConfig& /*configuration*/) :
m_registeredCount(0),
m_info_helper()
{
m_os_architecture = WindowsEnvironmentInfo::GetProcessorArchitecture();

Просмотреть файл

@ -21,12 +21,12 @@ namespace PAL_NS_BEGIN {
const string WindowsPhoneOSName = "Windows for Phones";
const string DeviceFamily_Mobile = "Windows.Mobile";
std::shared_ptr<ISystemInformation> SystemInformationImpl::Create()
std::shared_ptr<ISystemInformation> SystemInformationImpl::Create(IRuntimeConfig& configuration)
{
return std::make_shared<SystemInformationImpl>();
return std::make_shared<SystemInformationImpl>(configuration);
}
SystemInformationImpl::SystemInformationImpl(IRuntimeConfig& configuration)
SystemInformationImpl::SystemInformationImpl(IRuntimeConfig& /*configuration*/)
: m_info_helper()
{
auto version = Package::Current->Id->Version;