mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-05 23:15:53 +00:00
Remove unnecessary const_cast
Former-commit-id: 724dc8226e11216344dc5ead6831ae023c448943
This commit is contained in:
parent
0488b6e955
commit
984417bd3c
@ -54,7 +54,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user