From d74198b3ccbbe6087907ae0cb117a4396fb22514 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Mon, 18 Feb 2019 16:18:40 +0100 Subject: [PATCH] Remove misleading note in Type::calldataEncodedSize. --- libsolidity/ast/Types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index ce81ba5f2..f88232c9b 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -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