diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-11-25 20:36:06 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-11-25 20:36:06 +0800 |
commit | e136ec87041cce9d8d472e45f4dfbed9a8d02469 (patch) | |
tree | bcb1e74e7fd6a4705e7e28c612d3be0d43094fd6 /libdevcore | |
parent | aaf58a8c4e802b1c3c4098066e0788e55600660a (diff) | |
download | dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.gz dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.bz2 dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.lz dexon-solidity-e136ec87041cce9d8d472e45f4dfbed9a8d02469.tar.xz 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')
-rw-r--r-- | libdevcore/UTF8.h | 2 |
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); } |