mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Add/fix warning -Wignored-qualifiers (GCC/clang)
Fix simple_array::const_iterator as a part of it.
This commit is contained in:
parent
5bdd1cf837
commit
53af2dbb3f
11 changed files with 25 additions and 23 deletions
|
@ -97,7 +97,7 @@ DECLARE(spu_runtime::tr_interpreter) = []
|
|||
DECLARE(spu_runtime::g_dispatcher) = []
|
||||
{
|
||||
// Allocate 2^20 positions in data area
|
||||
const auto ptr = reinterpret_cast<decltype(g_dispatcher)>(jit_runtime::alloc(sizeof(*g_dispatcher), 64, false));
|
||||
const auto ptr = reinterpret_cast<std::remove_const_t<decltype(spu_runtime::g_dispatcher)>>(jit_runtime::alloc(sizeof(*g_dispatcher), 64, false));
|
||||
|
||||
for (auto& x : *ptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue