mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ast: string literals that are not valid UTF are not convertible to strings
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user