From e4dc8299d50ba77871710d50d8fd995cbde1029b Mon Sep 17 00:00:00 2001 From: Zijiang Yang Date: Wed, 10 Apr 2024 19:37:25 +0800 Subject: [PATCH] fix: substitute std::string for tvm::runtime::String in DPIModule --- src/dpi/module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpi/module.cc b/src/dpi/module.cc index def13054..b39e69ae 100644 --- a/src/dpi/module.cc +++ b/src/dpi/module.cc @@ -282,7 +282,7 @@ class DPIModule final : public DPIModuleNode { } PackedFunc GetFunction( - const std::string& name, + const String& name, const ObjectPtr& sptr_to_self) final { if (name == "WriteReg") { return TypedPackedFunc(