Compilation fixes for C++20

This commit is contained in:
Jeff Hutchinson 2022-11-27 23:08:07 -05:00
parent e16351605b
commit 1940becb2d
40 changed files with 220 additions and 211 deletions

View file

@ -88,7 +88,7 @@ static MYGUID IID_IDxDiagContainer( 0x7D0F462F, 0x4064, 0x4862, 0xBC, 0x7F, 0x93
//------------------------------------------------------------------------------
WCHAR *WMIVideoInfo::smPVIQueryTypeToWMIString [] =
const WCHAR *WMIVideoInfo::smPVIQueryTypeToWMIString [] =
{
L"MaxNumberControlled", //PVI_NumDevices
L"Description", //PVI_Description
@ -595,4 +595,4 @@ bool WMIVideoInfo::_queryPropertyWMI( const PVIQueryType queryType, const U32 ad
enumerator->Release();
return result;
}
}

View file

@ -51,7 +51,7 @@ private:
bool _queryPropertyWMI( const PVIQueryType queryType, const U32 adapterId, String *outValue );
protected:
static WCHAR *smPVIQueryTypeToWMIString [];
static const WCHAR *smPVIQueryTypeToWMIString [];
bool _queryProperty( const PVIQueryType queryType, const U32 adapterId, String *outValue );
bool _initialize();
String _lookUpVendorId(U32 vendorId);
@ -61,4 +61,4 @@ public:
~WMIVideoInfo();
};
#endif
#endif