mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Fix -Wpessimizing-move (Clang)
This commit is contained in:
parent
2c18d67769
commit
c8fefc4434
4 changed files with 4 additions and 5 deletions
|
|
@ -943,7 +943,7 @@ bool GLGSRender::on_access_violation(u32 address, bool is_writing)
|
|||
void GLGSRender::on_invalidate_memory_range(const utils::address_range &range, rsx::invalidation_cause cause)
|
||||
{
|
||||
gl::command_context cmd{ gl_state };
|
||||
auto data = std::move(m_gl_texture_cache.invalidate_range(cmd, range, cause));
|
||||
auto data = m_gl_texture_cache.invalidate_range(cmd, range, cause);
|
||||
AUDIT(data.empty());
|
||||
|
||||
if (cause == rsx::invalidation_cause::unmap && data.violation_handled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue