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:
Lioncash 2018-03-19 15:50:17 -04:00
parent f335790623
commit 51cfeb8c7d
1 changed files with 2 additions and 2 deletions

View File

@ -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;