ast: string literals that are not valid UTF are not convertible to strings

This commit is contained in:
Yoichi Hirai
2016-11-25 13:36:06 +01:00
parent aaf58a8c4e
commit e136ec8704
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -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);
}