diff --git a/interfaces/innerkits/ipc_core/include/iremote_object.h b/interfaces/innerkits/ipc_core/include/iremote_object.h index 5d1eb53561c11e817f024b8a71ac2751649ccb2f..13c073a36f03fa991e845970053990eb14ce8d0a 100644 --- a/interfaces/innerkits/ipc_core/include/iremote_object.h +++ b/interfaces/innerkits/ipc_core/include/iremote_object.h @@ -45,7 +45,7 @@ public: enum { DATABUS_TYPE, }; - class DeathRecipient : public RefBase { + class DeathRecipient : public virtual RefBase { public: /** * @brief Methods that enumerate death notifications.