diff --git a/src/stream_base.h b/src/stream_base.h index e722a208a8af68..cdce46abc8dcd2 100644 --- a/src/stream_base.h +++ b/src/stream_base.h @@ -259,7 +259,7 @@ class StreamBase : public StreamResource { const v8::PropertyCallbackInfo& args); template & args)> static void JSMethod(const v8::FunctionCallbackInfo& args); diff --git a/src/string_search.h b/src/string_search.h index 26b15de0d7d60a..01dbf9156e97df 100644 --- a/src/string_search.h +++ b/src/string_search.h @@ -171,7 +171,7 @@ class StringSearch : private StringSearchBase { } private: - typedef size_t (*SearchFunction)( // NOLINT - it's not a cast! + typedef size_t (*SearchFunction)( StringSearch*, Vector, size_t);