mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove misleading note in Type::calldataEncodedSize.
This commit is contained in:
parent
ab04a1c41d
commit
d74198b3cc
@ -216,7 +216,6 @@ public:
|
||||
/// @returns number of bytes used by this type when encoded for CALL. If it is a dynamic type,
|
||||
/// returns the size of the pointer (usually 32). Returns 0 if the type cannot be encoded
|
||||
/// in calldata.
|
||||
/// @note: This should actually not be called on types, where isDynamicallyEncoded returns true.
|
||||
/// If @a _padded then it is assumed that each element is padded to a multiple of 32 bytes.
|
||||
virtual unsigned calldataEncodedSize(bool _padded) const { (void)_padded; return 0; }
|
||||
/// @returns the size of this data type in bytes when stored in memory. For memory-reference
|
||||
|
Loading…
Reference in New Issue
Block a user