From aa6182ab87989ed50df2ec779237a2b708ccfd12 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 3 Jul 2015 18:15:05 +0200 Subject: Style and some assertion messages. --- ExpressionCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ExpressionCompiler.cpp') 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(*_functionCall.getExpression().getType()); + auto const& type = dynamic_cast(*_functionCall.getExpression().getType()); auto const& structType = dynamic_cast(*type.getActualType()); functionType = structType.constructorType(); } -- cgit v1.2.3