X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/1f3a9af059166187064490d1cae80bd11fb8737c..471a1a23753606871f4d85eb951f615e5310792e:/src/compiler/dmd/util/utf.d?ds=inline diff --git a/src/compiler/dmd/util/utf.d b/src/compiler/dmd/util/utf.d index 50d4a51..012d7c3 100644 --- a/src/compiler/dmd/util/utf.d +++ b/src/compiler/dmd/util/utf.d @@ -586,7 +586,7 @@ Checks to see if string is well formed or not. $(D S) can be an array */ void validate(S)(in S s) { - invariant len = s.length; + auto len = s.length; for (size_t i = 0; i < len; ) { decode(s, i);