aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/UTF8.h
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-25 20:36:06 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-25 20:36:06 +0800
commite136ec87041cce9d8d472e45f4dfbed9a8d02469 (patch)
treebcb1e74e7fd6a4705e7e28c612d3be0d43094fd6 /libdevcore/UTF8.h
parentaaf58a8c4e802b1c3c4098066e0788e55600660a (diff)
downloaddexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.gz
dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.zst
dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.zip
ast: string literals that are not valid UTF are not convertible to strings
Diffstat (limited to 'libdevcore/UTF8.h')
-rw-r--r--libdevcore/UTF8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/UTF8.h b/libdevcore/UTF8.h
index 3e39273c..9bdc2b4f 100644
--- a/libdevcore/UTF8.h
+++ b/libdevcore/UTF8.h
@@ -29,7 +29,7 @@ namespace dev
{
/// Validate an input for UTF8 encoding
-/// @returns true if it is invalid and the first invalid position in invalidPosition
+/// @returns false if it is invalid and the first invalid position in invalidPosition
bool validate(std::string const& _input, size_t& _invalidPosition);
}