From ad01829b2389216abac5ab8455819dd8f41418ff Mon Sep 17 00:00:00 2001 From: Fabian Schaffert Date: Mon, 24 Nov 2014 22:05:17 +0100 Subject: [PATCH] Fixes compilation error --- rpcs3/Loader/ELF64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Loader/ELF64.cpp b/rpcs3/Loader/ELF64.cpp index 01036e8bf5..1e9ee31832 100644 --- a/rpcs3/Loader/ELF64.cpp +++ b/rpcs3/Loader/ELF64.cpp @@ -463,8 +463,8 @@ namespace loader be_t::make(BLR()) }; - auto& tbl = vm::get().alloc(stub->s_imports); - auto& dst = vm::get().alloc(stub->s_imports); + const auto& tbl = vm::get().alloc(stub->s_imports); + const auto& dst = vm::get().alloc(stub->s_imports); for (u32 i = 0; i < stub->s_imports; ++i) {