mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Replace simple_type with std::common_type
This commit is contained in:
parent
330dea181a
commit
67e2e154fa
7 changed files with 46 additions and 44 deletions
|
|
@ -49,7 +49,7 @@ namespace vm
|
|||
return vm::cast(m_addr);
|
||||
}
|
||||
|
||||
operator simple_t<T>() const
|
||||
operator std::common_type_t<T>() const
|
||||
{
|
||||
return get_ref();
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ namespace vm
|
|||
return get_ref() = right.get_ref();
|
||||
}
|
||||
|
||||
T& operator =(const simple_t<T>& right) const
|
||||
T& operator =(const std::common_type_t<T>& right) const
|
||||
{
|
||||
return get_ref() = right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue