You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2023/06/05 19:07:44 UTC

[tvm] branch main updated: [Build] Fix missing virtual destructor in SIBuilder (#15022)

This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new a74a2e2d2e [Build] Fix missing virtual destructor in SIBuilder (#15022)
a74a2e2d2e is described below

commit a74a2e2d2efaea3aa2b56dbff9c7f60341015e0a
Author: masahi <ma...@gmail.com>
AuthorDate: Tue Jun 6 04:07:38 2023 +0900

    [Build] Fix missing virtual destructor in SIBuilder (#15022)
    
    fix compiler warning on SIBuilder
---
 src/ir/si_builder.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ir/si_builder.cc b/src/ir/si_builder.cc
index c3375436f1..c82b963d10 100644
--- a/src/ir/si_builder.cc
+++ b/src/ir/si_builder.cc
@@ -215,6 +215,7 @@ PrimExpr TirRecursivelyFill::VisitExpr(const PrimExpr& expr) {
 }
 
 struct SIBuilder::Impl {
+  virtual ~Impl() {}
   virtual Span Build() const { return Span(); }
   virtual void RecursivelyFillSpan(const relay::Expr& entry, const RelayExprSet& inputs) const {}
   virtual void RecursivelyFillSpan(const PrimExpr& entry, const PrimExprSet& inputs) const {}