Fix gcc issue.

This commit is contained in:
chriseth 2015-06-27 00:13:53 +02:00
parent fac8124412
commit bdbe5a3cf8

View File

@ -685,6 +685,8 @@ TypePointer ReferenceType::unaryOperatorResult(Token::Value _operator) const
return make_shared<VoidType>();
case DataLocation::Storage:
return m_isPointer ? TypePointer() : make_shared<VoidType>();
default:
solAssert(false, "");
}
}