From 5d9347f0225d62c51fc4a8a846eaf0468c3077b9 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 8 Aug 2016 19:18:26 +0100 Subject: Remove dev::utf8 namespace --- libsolidity/ast/Types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity') 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 + "\""; -- cgit