From 7f5601fd4b63e90313f1a9c1a53e08ba9757b452 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 19 May 2017 20:15:28 +0200 Subject: Add const --- libsolidity/inlineasm/AsmCodeGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp index 3591ba97..b8af9dc6 100644 --- a/libsolidity/inlineasm/AsmCodeGen.cpp +++ b/libsolidity/inlineasm/AsmCodeGen.cpp @@ -97,7 +97,7 @@ public: } private: - size_t assemblyTagToIdentifier(eth::AssemblyItem const& _tag) + size_t assemblyTagToIdentifier(eth::AssemblyItem const& _tag) const { u256 id = _tag.data(); solAssert(id <= std::numeric_limits::max(), "Tag id too large."); -- cgit