From bdbe5a3cf8dc2d337f8ec471394e9c5d366a5d08 Mon Sep 17 00:00:00 2001 From: chriseth Date: Sat, 27 Jun 2015 00:13:53 +0200 Subject: Fix gcc issue. --- Types.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Types.cpp') diff --git a/Types.cpp b/Types.cpp index 858828ba..a6d462a9 100644 --- a/Types.cpp +++ b/Types.cpp @@ -685,6 +685,8 @@ TypePointer ReferenceType::unaryOperatorResult(Token::Value _operator) const return make_shared(); case DataLocation::Storage: return m_isPointer ? TypePointer() : make_shared(); + default: + solAssert(false, ""); } } -- cgit v1.2.3