diff --git a/src/string_search.h b/src/string_search.h index b339c355fe168d..cec7fcd29113b8 100644 --- a/src/string_search.h +++ b/src/string_search.h @@ -91,7 +91,7 @@ class StringSearch : private StringSearchBase { typedef stringsearch::Vector Vector; explicit StringSearch(Vector pattern) - : pattern_(pattern), start_(0) { + : StringSearchBase(), pattern_(pattern), start_(0) { if (pattern.length() >= kBMMaxShift) { start_ = pattern.length() - kBMMaxShift; }