From c1571634413fe7de3140b7fdbf55b1d884ef03ff Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 8 Aug 2016 19:12:11 +0100 Subject: Use consts in dev::utf8::validate() --- libdevcore/UTF8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdevcore/UTF8.h') 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); } -- cgit