luzhen a841177c5b
Fix valid function invoke failed in future class (#75)
In C++11, shared_ptr has an explicit operator bool which
means that a shared_ptr can't be implicitly converted to a bool.
adding an explicit cast is a valid fix to the code.
2021-12-23 07:21:55 +00:00
..