Rename dev::validate to dev::validateUTF8

This commit is contained in:
Alex Beregszaszi
2016-11-28 22:28:21 +00:00
parent c01426efec
commit a9e92cb686
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ bool ASTJsonConverter::visit(Literal const& _node)
{
char const* tokenString = Token::toString(_node.token());
Json::Value value{_node.value()};
if (!dev::validate(_node.value()))
if (!dev::validateUTF8(_node.value()))
value = Json::nullValue;
Token::Value subdenomination = Token::Value(_node.subDenomination());
addJsonNode(_node, "Literal", {