mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix gcc issue.
This commit is contained in:
parent
fac8124412
commit
bdbe5a3cf8
@ -685,6 +685,8 @@ TypePointer ReferenceType::unaryOperatorResult(Token::Value _operator) const
|
|||||||
return make_shared<VoidType>();
|
return make_shared<VoidType>();
|
||||||
case DataLocation::Storage:
|
case DataLocation::Storage:
|
||||||
return m_isPointer ? TypePointer() : make_shared<VoidType>();
|
return m_isPointer ? TypePointer() : make_shared<VoidType>();
|
||||||
|
default:
|
||||||
|
solAssert(false, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user