-- make_shared has been removed from weak_ptr.hpp. Adjusted code to
use weak_ptr.lock() and weak_ptr.expired() instead.