aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ABIFunctions.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-22 18:43:19 +0800
committerGitHub <noreply@github.com>2017-08-22 18:43:19 +0800
commitf874fc28d1cb657b6d4e04fa9d93bd8d061f30c4 (patch)
treefb0f04a445940004a8a45e03bc98d149c5cc71a7 /libsolidity/codegen/ABIFunctions.h
parent2c2ae74217521aae93b9c7b058ce8687046c648c (diff)
parent9897c56b2cacf162f8fd41d60e91b7f71863f8d5 (diff)
downloaddexon-solidity-f874fc28d1cb657b6d4e04fa9d93bd8d061f30c4.tar.gz
dexon-solidity-f874fc28d1cb657b6d4e04fa9d93bd8d061f30c4.tar.zst
dexon-solidity-f874fc28d1cb657b6d4e04fa9d93bd8d061f30c4.zip
Merge pull request #2772 from ethereum/cppcheck
Improvements found by Cppcheck (const/static functions and explicit constructors)
Diffstat (limited to 'libsolidity/codegen/ABIFunctions.h')
-rw-r--r--libsolidity/codegen/ABIFunctions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ABIFunctions.h b/libsolidity/codegen/ABIFunctions.h
index 76f4b467..e43e2323 100644
--- a/libsolidity/codegen/ABIFunctions.h
+++ b/libsolidity/codegen/ABIFunctions.h
@@ -162,7 +162,7 @@ private:
std::string createFunction(std::string const& _name, std::function<std::string()> const& _creator);
/// @returns the size of the static part of the encoding of the given types.
- size_t headSize(TypePointers const& _targetTypes);
+ static size_t headSize(TypePointers const& _targetTypes);
/// Map from function name to code for a multi-use function.
std::map<std::string, std::string> m_requestedFunctions;