Browse Source

Fix gcc issue.

cl-refactor
chriseth 10 years ago
parent
commit
2951cbd3cb
  1. 2
      libsolidity/Types.cpp

2
libsolidity/Types.cpp

@ -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, "");
}
}

Loading…
Cancel
Save