shouldn't be marked as inline

This commit is contained in:
Silent 2016-09-12 00:14:01 +02:00
parent afd6fc49ea
commit 9959177ba0

View file

@ -591,7 +591,7 @@ public:
class Section class Section
{ {
public: 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_NT_HEADERS* ntHeader = (IMAGE_NT_HEADERS*)((BYTE*)hInstance + ((IMAGE_DOS_HEADER*)hInstance)->e_lfanew);
IMAGE_SECTION_HEADER* pSection = IMAGE_FIRST_SECTION(ntHeader); IMAGE_SECTION_HEADER* pSection = IMAGE_FIRST_SECTION(ntHeader);
@ -624,7 +624,7 @@ public:
} }
}; };
inline ~Section() ~Section()
{ {
for ( auto& it : m_queriedProtects ) for ( auto& it : m_queriedProtects )
{ {