diff --git a/services/distributeddataservice/framework/include/serializable/serializable.h b/services/distributeddataservice/framework/include/serializable/serializable.h index a0b6ad5a7c69514d7f2c405db3de745f5eaa0d76..a8833050da1465c5e4778a4fbab8b59652290c06 100644 --- a/services/distributeddataservice/framework/include/serializable/serializable.h +++ b/services/distributeddataservice/framework/include/serializable/serializable.h @@ -86,7 +86,7 @@ public: template API_EXPORT static bool GetValue(const json &node, const std::string &name, std::variant<_Types...> &value); protected: - API_EXPORT ~Serializable() = default; + API_EXPORT virtual ~Serializable() = default; template static bool GetValue(const json &node, const std::string &name, std::vector &values);