aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-08-09 02:18:26 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-08-09 03:05:31 +0800
commit5d9347f0225d62c51fc4a8a846eaf0468c3077b9 (patch)
tree8f72a2402d7b7217315b50984171a16288a4cb3a /libsolidity/ast
parentf1df3dee537e827bc4f74ed92ab8a58cd4cf2ac0 (diff)
downloaddexon-solidity-5d9347f0225d62c51fc4a8a846eaf0468c3077b9.tar.gz
dexon-solidity-5d9347f0225d62c51fc4a8a846eaf0468c3077b9.tar.zst
dexon-solidity-5d9347f0225d62c51fc4a8a846eaf0468c3077b9.zip
Remove dev::utf8 namespace
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index aae18934..28f7e1b7 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -857,7 +857,7 @@ std::string StringLiteralType::toString(bool) const
{
size_t invalidSequence;
- if (!dev::utf8::validate(m_value, invalidSequence))
+ if (!dev::validate(m_value, invalidSequence))
return "literal_string (contains invalid UTF-8 sequence at position " + dev::toString(invalidSequence) + ")";
return "literal_string \"" + m_value + "\"";