CodeBlock: In-class initialize variables
This commit is contained in:
parent
facf02686a
commit
18210a65ce
|
@ -23,21 +23,15 @@ private:
|
|||
virtual void PoisonMemory() = 0;
|
||||
|
||||
protected:
|
||||
u8* region;
|
||||
size_t region_size;
|
||||
size_t parent_region_size;
|
||||
u8* region = nullptr;
|
||||
size_t region_size = 0;
|
||||
size_t parent_region_size = 0;
|
||||
|
||||
bool m_has_child;
|
||||
bool m_is_child;
|
||||
CodeBlock* m_child;
|
||||
bool m_has_child = false;
|
||||
bool m_is_child = false;
|
||||
CodeBlock* m_child = nullptr;
|
||||
|
||||
public:
|
||||
CodeBlock()
|
||||
: region(nullptr), region_size(0), parent_region_size(0), m_has_child(false),
|
||||
m_is_child(false), m_child(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~CodeBlock()
|
||||
{
|
||||
if (region)
|
||||
|
|
Loading…
Reference in New Issue