mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-19 12:45:22 +00:00
Remove unnecessary const_cast
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user