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