diff --git a/mindspore/ccsrc/dataset/engine/gnn/feature.h b/mindspore/ccsrc/dataset/engine/gnn/feature.h index 956aba49b11ad5334e061b74a3d0f8edc1be6e72..7ce5967fbd3e3d2dc13e38fb29de56e118f73f6f 100644 --- a/mindspore/ccsrc/dataset/engine/gnn/feature.h +++ b/mindspore/ccsrc/dataset/engine/gnn/feature.h @@ -33,6 +33,8 @@ class Feature { // @param std::shared_ptr value - feature value Feature(FeatureType type_name, std::shared_ptr value); + ~Feature() = default; + // Get feature value // @return std::shared_ptr *out_value - feature value const std::shared_ptr Value() const { return value_; }