diff options
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 81f5d08a..13cd4032 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -324,7 +324,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) FunctionTypePointer functionType; if (_functionCall.isStructConstructorCall()) { - TypeType const& type = dynamic_cast<TypeType const&>(*_functionCall.getExpression().getType()); + auto const& type = dynamic_cast<TypeType const&>(*_functionCall.getExpression().getType()); auto const& structType = dynamic_cast<StructType const&>(*type.getActualType()); functionType = structType.constructorType(); } |