[ATL] Add some hacks for gcc,

since parsing templates is not something it can do
This commit is contained in:
Mark Jansen 2020-03-17 22:35:53 +01:00
parent 4439b53800
commit 1437433039
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
2 changed files with 11 additions and 1 deletions

View file

@ -456,7 +456,7 @@ class CComCreator2
public:
static HRESULT WINAPI CreateInstance(void *pv, REFIID riid, LPVOID *ppv)
{
ATLASSERT(ppv != NULL && riid != NULL);
ATLASSERT(ppv != NULL && &riid != NULL);
if (pv == NULL)
return T1::CreateInstance(NULL, riid, ppv);