diff options
author | RJ <catalanor0220@gmail.com> | 2015-12-15 07:43:22 +0800 |
---|---|---|
committer | RJ <catalanor0220@gmail.com> | 2015-12-15 07:43:22 +0800 |
commit | 84e2d7f45674f9be1a0e04dbcf4af4a9994f2944 (patch) | |
tree | 7110472994e809fb21b27d5d00d15994290df5b3 /libsolidity/codegen/ExpressionCompiler.cpp | |
parent | 15a1468c3fcf520b9c8f0af22159ea729cf9f085 (diff) | |
parent | 98684cca9035c754adcdc99fd196716cb7802efd (diff) | |
download | dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar.gz dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar.bz2 dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar.lz dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar.xz dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.tar.zst dexon-solidity-84e2d7f45674f9be1a0e04dbcf4af4a9994f2944.zip |
Merge pull request #1 from ethereum/develop
Update stuff
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index a090a28c..dcdab2a7 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -85,7 +85,7 @@ void ExpressionCompiler::appendStateVariableAccessor(VariableDeclaration const& CompilerContext::LocationSetter locationSetter(m_context, _varDecl); FunctionType accessorType(_varDecl); - TypePointers const& paramTypes = accessorType.parameterTypes(); + TypePointers paramTypes = accessorType.parameterTypes(); // retrieve the position of the variable auto const& location = m_context.storageLocationOfVariable(_varDecl); @@ -380,7 +380,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) else functionType = dynamic_pointer_cast<FunctionType const>(_functionCall.expression().annotation().type); - TypePointers const& parameterTypes = functionType->parameterTypes(); + TypePointers parameterTypes = functionType->parameterTypes(); vector<ASTPointer<Expression const>> const& callArguments = _functionCall.arguments(); vector<ASTPointer<ASTString>> const& callArgumentNames = _functionCall.names(); if (!functionType->takesArbitraryParameters()) |