mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
Remove ASSUME macro
It's dangerous and sometimes bluntly misused feature. Its optimization potential is near-zero.
This commit is contained in:
parent
61b882b2a6
commit
b382d3b3e9
23 changed files with 40 additions and 68 deletions
|
@ -372,7 +372,6 @@ namespace utils
|
|||
template <typename D = std::remove_reference_t<T>>
|
||||
auto get() const noexcept
|
||||
{
|
||||
ASSUME(m_block->m_type != 0);
|
||||
return m_block->get_ptr<T>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue