aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-20 02:15:28 +0800
committerchriseth <chris@ethereum.org>2017-05-20 02:15:28 +0800
commit7f5601fd4b63e90313f1a9c1a53e08ba9757b452 (patch)
tree78fa5189412692361a1f3d21ae80a688cfe17de4 /libsolidity
parent69413ae32a07ebe51adf3eca295cef4dfcd513b4 (diff)
downloaddexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar.gz
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar.bz2
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar.lz
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar.xz
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.tar.zst
dexon-solidity-7f5601fd4b63e90313f1a9c1a53e08ba9757b452.zip
Add const
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
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<size_t>::max(), "Tag id too large.");