mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style fixes in Types[cpp/h]
This commit is contained in:
parent
b8cede371d
commit
c81b498953
@ -488,7 +488,6 @@ TypePointer FixedBytesType::unaryOperatorResult(Token::Value _operator) const
|
|||||||
TypePointer FixedBytesType::binaryOperatorResult(Token::Value _operator, TypePointer const& _other) const
|
TypePointer FixedBytesType::binaryOperatorResult(Token::Value _operator, TypePointer const& _other) const
|
||||||
{
|
{
|
||||||
auto commonType = dynamic_pointer_cast<FixedBytesType const>(Type::commonType(shared_from_this(), _other));
|
auto commonType = dynamic_pointer_cast<FixedBytesType const>(Type::commonType(shared_from_this(), _other));
|
||||||
|
|
||||||
if (!commonType)
|
if (!commonType)
|
||||||
return TypePointer();
|
return TypePointer();
|
||||||
|
|
||||||
|
4
Types.h
4
Types.h
@ -158,7 +158,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any kind of integer type including address.
|
* Any kind of integer type (signed, unsigned, address).
|
||||||
*/
|
*/
|
||||||
class IntegerType: public Type
|
class IntegerType: public Type
|
||||||
{
|
{
|
||||||
@ -231,7 +231,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bytes type with fixed length of up to 32 bytes
|
* Bytes type with fixed length of up to 32 bytes.
|
||||||
*/
|
*/
|
||||||
class FixedBytesType: public Type
|
class FixedBytesType: public Type
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user