diff --git a/reactos/sdk/lib/atl/atlcoll.h b/reactos/sdk/lib/atl/atlcoll.h index ad8c082d54c..c8b0e7a0531 100644 --- a/reactos/sdk/lib/atl/atlcoll.h +++ b/reactos/sdk/lib/atl/atlcoll.h @@ -3,7 +3,7 @@ #pragma once #include "atlbase.h" - +#include "atlexcept.h" struct __POSITION { @@ -531,7 +531,7 @@ typename CAtlList::CNode* CAtlList< E, ETraits>::GetFreeNode() CAtlPlex* Block = CAtlPlex::Create(m_Blocks, m_BlockSize, sizeof(CNode)); if (Block == NULL) { - throw(E_OUTOFMEMORY); + AtlThrowImp(E_OUTOFMEMORY); } CNode* Node = (CNode*)Block->GetData();