shared_ptr can no longer be implicitly converted to a bool