aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/UTF8.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-08-09 02:12:11 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-08-09 02:58:39 +0800
commitc1571634413fe7de3140b7fdbf55b1d884ef03ff (patch)
tree254f0e21ab937867f0c1218ab810ff183ccdfc10 /libdevcore/UTF8.h
parente8c2e87397c0dbb8e5be3e096385e45740a4cbf3 (diff)
downloaddexon-solidity-c1571634413fe7de3140b7fdbf55b1d884ef03ff.tar.gz
dexon-solidity-c1571634413fe7de3140b7fdbf55b1d884ef03ff.tar.zst
dexon-solidity-c1571634413fe7de3140b7fdbf55b1d884ef03ff.zip
Use consts in dev::utf8::validate()
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 39f76a11..2824d5bf 100644
--- a/libdevcore/UTF8.h
+++ b/libdevcore/UTF8.h
@@ -33,7 +33,7 @@ namespace utf8
/// Validate an input for UTF8 encoding
/// @returns true if it is invalid and the first invalid position in invalidPosition
-bool validate(std::string input, int &invalidPosition);
+bool validate(std::string const& _input, int& _invalidPosition);
}