diff options
author | Balajiganapathi S <balajiganapathi.s@gmail.com> | 2017-11-18 00:11:15 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-02-13 22:59:33 +0800 |
commit | b1417b318f3b3cbfd0bf79a4cabc656825a84e5a (patch) | |
tree | 3586f671841b6605b8b6cb7e41e6a96c931907da /libsolidity/analysis/DeclarationContainer.h | |
parent | 2859834e58e37e7b15a15f7df60feef3e1527c97 (diff) | |
download | dexon-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.h | 2 |
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; }; |