mirror of https://github.com/PrimeDecomp/prime.git
parent
0488b6e955
commit
984417bd3c
|
@ -54,10 +54,10 @@ void CToken::Unlock() {
|
||||||
}
|
}
|
||||||
|
|
||||||
CToken& CToken::operator=(const CToken& other) {
|
CToken& CToken::operator=(const CToken& other) {
|
||||||
if (&other == const_cast< const CToken* >(this)) {
|
if (&other == this) {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Unlock();
|
Unlock();
|
||||||
RemoveRef();
|
RemoveRef();
|
||||||
x0_objRef = other.x0_objRef;
|
x0_objRef = other.x0_objRef;
|
||||||
|
|
Loading…
Reference in New Issue