X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/1f3a9af059166187064490d1cae80bd11fb8737c..cae23267c83ae53f31305d1e93353dcafd0e02c6:/src/compiler/dmd/util/utf.d 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);