JitBase: Ensure JitOptions and JitState instances are consistently initialized
Ensures that upon construction of a JitBase instance, that all underlying members within the option and state structs are guaranteed to be initialized. This prevents potentially using a member uninitialized in some form.
This commit is contained in:
parent
f335790623
commit
51cfeb8c7d
|
@ -110,8 +110,8 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// This should probably be removed from public:
|
// This should probably be removed from public:
|
||||||
JitOptions jo;
|
JitOptions jo{};
|
||||||
JitState js;
|
JitState js{};
|
||||||
|
|
||||||
JitBase();
|
JitBase();
|
||||||
~JitBase() override;
|
~JitBase() override;
|
||||||
|
|
Loading…
Reference in New Issue