Skip to content

Commit 1aff34e

Browse files
committed
Add destructor
1 parent a70145f commit 1aff34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nnvm/src/pass/subgraph/tensorrt_subgraph_property.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class TensorRTSubgraphProperty: public SubgraphProperty {
173173
this->GetAttr<std::unordered_set<std::string>>("op_names"));
174174
}
175175

176-
~TensorRTSubgraphProperty() {}
176+
virtual ~TensorRTSubgraphProperty() {}
177177

178178
private:
179179
nnvm::Symbol RemoveFlattenOpNodes(nnvm::Symbol sym) const {

0 commit comments

Comments
 (0)