Skip to content

Commit d819a01

Browse files
committed
Fixed missing return.
1 parent bd0edd6 commit d819a01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BrotBoxEngine/AutoRefCountable.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ bbe::AutoRef& bbe::AutoRef::operator=(AutoRefCountable* countable)
8686
decRef();
8787
this->countable = countable;
8888
incRef();
89+
return *this;
8990
}
9091

9192
bool bbe::AutoRef::operator==(const void* ptr) const

0 commit comments

Comments
 (0)