Skip to content

Commit

Permalink
fix issue 16238 - std.string.lastIndexOf fails compilation with -de
Browse files Browse the repository at this point in the history
  • Loading branch information
aG0aep6G committed Jul 5, 2016
1 parent 3a3a95e commit d9a2d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/string.d
Expand Up @@ -1175,6 +1175,7 @@ ptrdiff_t lastIndexOf(Char1, Char2)(const(Char1)[] s, const(Char2)[] sub,
import std.algorithm.searching : endsWith;
import std.conv : to;
import std.range.primitives : walkLength;
static import std.uni;
import std.utf : strideBack;
if (sub.empty)
return -1;
Expand Down

0 comments on commit d9a2d28

Please sign in to comment.