From d5c2790f1afadac3ab70caee24c9d00d7bd2fdb2 Mon Sep 17 00:00:00 2001 From: hlu1 <14827759+hlu1@users.noreply.github.com> Date: Mon, 30 Mar 2020 20:27:20 -0700 Subject: [PATCH] [TVM] ref_counter -> ref_counter_ (#5184) --- include/tvm/runtime/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tvm/runtime/object.h b/include/tvm/runtime/object.h index 94614e83963c..717bf5e72fc4 100644 --- a/include/tvm/runtime/object.h +++ b/include/tvm/runtime/object.h @@ -795,7 +795,7 @@ inline void Object::IncRef() { } inline void Object::DecRef() { - if (--ref_counter == 0) { + if (--ref_counter_ == 0) { if (this->deleter_ != nullptr) { (*this->deleter_)(this); }