https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4c0426ec442fd52f6f061…
commit 4c0426ec442fd52f6f06122795b02fd5fd7fdd94
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Jan 29 22:29:11 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Wed Jan 29 22:29:11 2020 +0900
[SDK][ATL] Make ThrowMemoryException protected
---
sdk/lib/atl/atlsimpstr.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sdk/lib/atl/atlsimpstr.h b/sdk/lib/atl/atlsimpstr.h
index 05e582fc6f8..c06a8e46cc5 100644
--- a/sdk/lib/atl/atlsimpstr.h
+++ b/sdk/lib/atl/atlsimpstr.h
@@ -608,7 +608,7 @@ private:
return pNewData;
}
-
+protected:
static void ThrowMemoryException()
{
AtlThrow(E_OUTOFMEMORY);
@@ -618,7 +618,6 @@ private:
{
AtlThrow(E_INVALIDARG);
}
-
};
#ifdef UNICODE