Open zhoumin2 opened 3 months ago
The function Init() called by the one of constructors of lazy_ptr is undefined. That constructor is not used by other code so that the compiler doesn't complain. This patch replaces the Init() with the member function of reset().
Init()
lazy_ptr
reset()
The function
Init()
called by the one of constructors oflazy_ptr
is undefined. That constructor is not used by other code so that the compiler doesn't complain. This patch replaces theInit()
with the member function ofreset()
.183