From 9959177ba08bce91527ae144389ba1cc882963de Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 12 Sep 2016 00:14:01 +0200 Subject: [PATCH] shouldn't be marked as inline --- SilentPatch/MemoryMgr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SilentPatch/MemoryMgr.h b/SilentPatch/MemoryMgr.h index f68d8a4..ebc052f 100644 --- a/SilentPatch/MemoryMgr.h +++ b/SilentPatch/MemoryMgr.h @@ -591,7 +591,7 @@ public: class Section { public: - inline Section( HINSTANCE hInstance, const char* name ) + Section( HINSTANCE hInstance, const char* name ) { IMAGE_NT_HEADERS* ntHeader = (IMAGE_NT_HEADERS*)((BYTE*)hInstance + ((IMAGE_DOS_HEADER*)hInstance)->e_lfanew); IMAGE_SECTION_HEADER* pSection = IMAGE_FIRST_SECTION(ntHeader); @@ -624,7 +624,7 @@ public: } }; - inline ~Section() + ~Section() { for ( auto& it : m_queriedProtects ) {