mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Coding style cleanup: const and vecptr.
This commit is contained in:
@@ -394,7 +394,7 @@ ptr<Type> FunctionCall::checkTypeRequirements()
|
||||
FunctionType* function = dynamic_cast<FunctionType*>(expressionType.get());
|
||||
BOOST_ASSERT(function != nullptr);
|
||||
FunctionDefinition const& fun = function->getFunction();
|
||||
vecptr<VariableDeclaration> const& parameters = fun.getParameters();
|
||||
std::vector<ptr<VariableDeclaration>> const& parameters = fun.getParameters();
|
||||
if (parameters.size() != m_arguments.size())
|
||||
BOOST_THROW_EXCEPTION(TypeError() << errinfo_comment("Wrong argument count for "
|
||||
"function call."));
|
||||
|
||||
Reference in New Issue
Block a user