mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Draw: Correct ambiguous comparison overload.
This commit is contained in:
parent
0bc2bb9efb
commit
0cc94ceb15
1 changed files with 3 additions and 0 deletions
|
@ -393,6 +393,9 @@ struct AutoRef {
|
|||
*this = p.ptr;
|
||||
return *this;
|
||||
}
|
||||
bool operator !=(const AutoRef<T> &p) const {
|
||||
return ptr != p.ptr;
|
||||
}
|
||||
|
||||
T *operator->() const {
|
||||
return ptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue