aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-25 21:23:35 +0800
committerchriseth <c@ethdev.com>2015-11-29 07:16:07 +0800
commit93b3237c6ae526d3ff5aa0d23d48319cf705baee (patch)
treee86eae7793dabe6ea9d680fd4f74fedd83ace115 /libsolidity/codegen
parentd71cd3aa2b235f877b7928b57c94159e2c16865c (diff)
downloaddexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar.gz
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar.bz2
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar.lz
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar.xz
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.tar.zst
dexon-solidity-93b3237c6ae526d3ff5aa0d23d48319cf705baee.zip
Add bound functions to types.
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 6c288ae7..474247e1 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -672,7 +672,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
_functionCall.expression().accept(*this);
solAssert(function.parameterTypes().size() == 1, "");
solAssert(!!function.parameterTypes()[0], "");
- TypePointer const& paramType = function.parameterTypes()[0];
+ TypePointer paramType = function.parameterTypes()[0];
shared_ptr<ArrayType> arrayType =
function.location() == Location::ArrayPush ?
make_shared<ArrayType>(DataLocation::Storage, paramType) :