From d16badbc040a80c1c1b273cf98c62123232ba283 Mon Sep 17 00:00:00 2001 From: Mat M Date: Fri, 2 Sep 2016 12:30:21 -0400 Subject: [PATCH] get_set_elimination_pass: Replace decltype with direct type retrieval (#9) --- src/ir_opt/get_set_elimination_pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ir_opt/get_set_elimination_pass.cpp b/src/ir_opt/get_set_elimination_pass.cpp index 98ec2b5b..a1a5552a 100644 --- a/src/ir_opt/get_set_elimination_pass.cpp +++ b/src/ir_opt/get_set_elimination_pass.cpp @@ -16,7 +16,7 @@ namespace Dynarmic { namespace Optimization { void GetSetElimination(IR::Block& block) { - using Iterator = decltype(block.begin()); + using Iterator = IR::Block::iterator; struct RegisterInfo { IR::Value register_value; bool set_instruction_present = false;