[SDK][ATL] Make ThrowMemoryException protected
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Wed, 29 Jan 2020 13:29:11 +0000 (22:29 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Wed, 29 Jan 2020 13:29:11 +0000 (22:29 +0900)
sdk/lib/atl/atlsimpstr.h

index 05e582f..c06a8e4 100644 (file)
@@ -608,7 +608,7 @@ private:
         return pNewData;
     }
 
         return pNewData;
     }
 
-
+protected:
     static void ThrowMemoryException()
     {
         AtlThrow(E_OUTOFMEMORY);
     static void ThrowMemoryException()
     {
         AtlThrow(E_OUTOFMEMORY);
@@ -618,7 +618,6 @@ private:
     {
         AtlThrow(E_INVALIDARG);
     }
     {
         AtlThrow(E_INVALIDARG);
     }
-
 };
 
 #ifdef UNICODE
 };
 
 #ifdef UNICODE