Switch MetaLogEntity from intrusive_ptr to shared_ptr