Author: ashaposhnikov
Date: Sun Sep 10 20:59:48 2017
New Revision: 75823
URL:
http://svn.reactos.org/svn/reactos?rev=75823&view=rev
Log:
[ATL] Fixed atlcoll.h ignoring _ATL_NO_EXCEPTIONS
Modified:
branches/GSoC_2017/rapps/reactos/sdk/lib/atl/atlcoll.h
Modified: branches/GSoC_2017/rapps/reactos/sdk/lib/atl/atlcoll.h
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2017/rapps/reactos/sdk/lib…
==============================================================================
--- branches/GSoC_2017/rapps/reactos/sdk/lib/atl/atlcoll.h [iso-8859-1] (original)
+++ branches/GSoC_2017/rapps/reactos/sdk/lib/atl/atlcoll.h [iso-8859-1] Sun Sep 10
20:59:48 2017
@@ -3,7 +3,7 @@
#pragma once
#include "atlbase.h"
-
+#include "atlexcept.h"
struct __POSITION
{
@@ -531,7 +531,7 @@
CAtlPlex* Block = CAtlPlex::Create(m_Blocks, m_BlockSize, sizeof(CNode));
if (Block == NULL)
{
- throw(E_OUTOFMEMORY);
+ AtlThrowImp(E_OUTOFMEMORY);
}
CNode* Node = (CNode*)Block->GetData();