Initialize TreeUpdater ctx_ with nullptr (#7722)

This commit is contained in:
Haoming Chen 2022-03-10 06:33:32 -08:00 committed by GitHub
parent a62a3d991d
commit 55463b76c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ class Json;
*/
class TreeUpdater : public Configurable {
protected:
GenericParameter const* ctx_;
GenericParameter const* ctx_ = nullptr;
public:
/*! \brief virtual destructor */