COBBTree: Always initialize x4c_hit

Same behavior, but provides deterministic state on construction, which
can make debugging much nicer.
This commit is contained in:
Lioncash 2020-04-06 01:05:26 -04:00
parent c6952442c7
commit 248a4e57c9
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public:
std::unique_ptr<CNode> x40_left; std::unique_ptr<CNode> x40_left;
std::unique_ptr<CNode> x44_right; std::unique_ptr<CNode> x44_right;
std::unique_ptr<CLeafData> x48_leaf; std::unique_ptr<CLeafData> x48_leaf;
bool x4c_hit; bool x4c_hit = false;
public: public:
CNode() = default; CNode() = default;