aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/DeclarationContainer.h
diff options
context:
space:
mode:
authorBalajiganapathi S <balajiganapathi.s@gmail.com>2017-11-18 00:11:15 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-13 22:59:33 +0800
commitb1417b318f3b3cbfd0bf79a4cabc656825a84e5a (patch)
tree3586f671841b6605b8b6cb7e41e6a96c931907da /libsolidity/analysis/DeclarationContainer.h
parent2859834e58e37e7b15a15f7df60feef3e1527c97 (diff)
downloaddexon-solidity-b1417b318f3b3cbfd0bf79a4cabc656825a84e5a.tar.gz
dexon-solidity-b1417b318f3b3cbfd0bf79a4cabc656825a84e5a.tar.zst
dexon-solidity-b1417b318f3b3cbfd0bf79a4cabc656825a84e5a.zip
Move string distance function to utils and format error message
Diffstat (limited to 'libsolidity/analysis/DeclarationContainer.h')
-rw-r--r--libsolidity/analysis/DeclarationContainer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/analysis/DeclarationContainer.h b/libsolidity/analysis/DeclarationContainer.h
index 991140d8..6c1459c7 100644
--- a/libsolidity/analysis/DeclarationContainer.h
+++ b/libsolidity/analysis/DeclarationContainer.h
@@ -68,8 +68,6 @@ private:
std::map<ASTString, std::vector<Declaration const*>> m_declarations;
std::map<ASTString, std::vector<Declaration const*>> m_invisibleDeclarations;
- // Calculates the Damerau–Levenshtein distance and decides whether the two names are similar
- static bool areSimilarNames(ASTString const& _name1, ASTString const& _name2);
static size_t const MAXIMUM_DISTANCE = 2;
};