From c4ac825324917e7dda91211cd41431b827c61b2d Mon Sep 17 00:00:00 2001 From: mingchuan Date: Mon, 14 May 2018 11:18:01 +0800 Subject: Fix wrong template parameter passed to boost::get --- libjulia/optimiser/FullInliner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libjulia/optimiser/FullInliner.cpp') diff --git a/libjulia/optimiser/FullInliner.cpp b/libjulia/optimiser/FullInliner.cpp index e78f4eb0..e8776e23 100644 --- a/libjulia/optimiser/FullInliner.cpp +++ b/libjulia/optimiser/FullInliner.cpp @@ -168,10 +168,10 @@ void InlineModifier::visit(Statement& _statement) // Replace pop(0) expression statemets (and others) by empty blocks. if (_statement.type() == typeid(ExpressionStatement)) { - ExpressionStatement& expSt = boost::get(_statement); + ExpressionStatement& expSt = boost::get(_statement); if (expSt.expression.type() == typeid(FunctionalInstruction)) { - FunctionalInstruction& funInstr = boost::get(expSt.expression); + FunctionalInstruction& funInstr = boost::get(expSt.expression); if (funInstr.instruction == solidity::Instruction::POP) if (MovableChecker(funInstr.arguments.at(0)).movable()) _statement = Block{expSt.location, {}}; -- cgit