diff options
author | chriseth <c@ethdev.com> | 2015-11-30 23:06:44 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-30 23:06:44 +0800 |
commit | e9c7837c154482a72c8519fbdc9376693ce9a1d5 (patch) | |
tree | 1985b57b4e221fe4e4b5cc14a5049b8c0c46ce6c /libsolidity/codegen | |
parent | a8736b7b271dac117f15164cf4d2dfabcdd2c6fd (diff) | |
parent | f9e52c9db1ef23000f5721a462aba3fa8d681749 (diff) | |
download | dexon-solidity-e9c7837c154482a72c8519fbdc9376693ce9a1d5.tar.gz dexon-solidity-e9c7837c154482a72c8519fbdc9376693ce9a1d5.tar.zst dexon-solidity-e9c7837c154482a72c8519fbdc9376693ce9a1d5.zip |
Merge pull request #251 from chriseth/bind2
Bind library functions to types.
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index d4140ae8..fa077036 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) : |