From c4f5e2d6d657cd09afe24dafd3ca97c82886d6e8 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 11 Mar 2015 09:35:13 -0400 Subject: [PATCH] missing import --- dom.d | 1 + 1 file changed, 1 insertion(+) diff --git a/dom.d b/dom.d index c7725cc..2820584 100644 --- a/dom.d +++ b/dom.d @@ -5783,6 +5783,7 @@ final class ElementStream { // unbelievable. // Don't use any of these in your own code. Instead, try to use phobos or roll your own, as I might kill these at any time. sizediff_t indexOfBytes(immutable(ubyte)[] haystack, immutable(ubyte)[] needle) { + static import std.algorithm; auto found = std.algorithm.find(haystack, needle); if(found.length == 0) return -1;