[SDK][ATL] Make ThrowMemoryException protected

This commit is contained in:
Katayama Hirofumi MZ 2020-01-29 22:29:11 +09:00
parent eaa3692f7d
commit 4c0426ec44

View file

@ -608,7 +608,7 @@ private:
return pNewData; return pNewData;
} }
protected:
static void ThrowMemoryException() static void ThrowMemoryException()
{ {
AtlThrow(E_OUTOFMEMORY); AtlThrow(E_OUTOFMEMORY);
@ -618,7 +618,6 @@ private:
{ {
AtlThrow(E_INVALIDARG); AtlThrow(E_INVALIDARG);
} }
}; };
#ifdef UNICODE #ifdef UNICODE