Skip to content

Commit

Permalink
[TVM] ref_counter -> ref_counter_ (apache#5184)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlu1 authored and zhiics committed Apr 17, 2020
1 parent 3777e99 commit 1ded718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tvm/runtime/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1ded718

Please sign in to comment.