diff options
author | Christian <c@ethdev.com> | 2014-12-06 09:19:10 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-08 19:53:56 +0800 |
commit | 13640d7db82562592958fcce2d7ce8155cc7ea35 (patch) | |
tree | a27fc38d8fb642ad602d875e3218542adb533de5 /ExpressionCompiler.cpp | |
parent | c78c330634997e5d8e2ec27db9e3d9cf50bae230 (diff) | |
download | dexon-solidity-13640d7db82562592958fcce2d7ce8155cc7ea35.tar.gz dexon-solidity-13640d7db82562592958fcce2d7ce8155cc7ea35.tar.zst dexon-solidity-13640d7db82562592958fcce2d7ce8155cc7ea35.zip |
Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers.
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 4cf962fa..ac972935 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -181,7 +181,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) else { FunctionType const& function = dynamic_cast<FunctionType const&>(*_functionCall.getExpression().getType()); - std::vector<ASTPointer<Expression>> const& arguments = _functionCall.getArguments(); + std::vector<ASTPointer<Expression const>> arguments = _functionCall.getArguments(); if (asserts(arguments.size() == function.getParameterTypes().size())) BOOST_THROW_EXCEPTION(InternalCompilerError()); |