From 2889f791efc941e20628fe93b234754747d76846 Mon Sep 17 00:00:00 2001 From: Dongming Yang Date: Wed, 27 Jan 2021 16:47:01 +0800 Subject: [PATCH] fix lint --- src/parser/parser.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parser/parser.cc b/src/parser/parser.cc index 25c093486807..3061735eff7c 100644 --- a/src/parser/parser.cc +++ b/src/parser/parser.cc @@ -1430,7 +1430,8 @@ class Parser { String attr_key = Downcast(raw_attrs["attrs_type_key"]); if (attr_key.size()) { raw_attrs.erase("attrs_type_key"); - auto attr_obj = tvm::ReflectionVTable::Global()->CreateObject(attr_key, raw_attrs); + auto tbl = tvm::ReflectionVTable::Global(); + auto attr_obj = tbl->CreateObject(attr_key, raw_attrs); ICHECK(attr_obj.defined()); attrs = Downcast(attr_obj); }