[ATL] Fixed atlcoll.h ignoring _ATL_NO_EXCEPTIONS

svn path=/branches/GSoC_2017/rapps/; revision=75823
This commit is contained in:
Alexander Shaposhnikov
2017-09-10 20:59:48 +00:00
parent 79ee865810
commit fa2ddd2f4c
+2 -2
View File
@@ -3,7 +3,7 @@
#pragma once
#include "atlbase.h"
#include "atlexcept.h"
struct __POSITION
{
@@ -531,7 +531,7 @@ typename CAtlList<E, ETraits>::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();