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 Trevor Morris committed Apr 16, 2020
1 parent 5c0b9ba commit d5c2790
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 d5c2790

Please sign in to comment.