diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 25a14f5c24ada6..9ae92d861edb9a 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -1248,9 +1248,7 @@ void Swap64(const FunctionCallbackInfo& args) { std::swap(ts_obj_data[i], ts_obj_data[i + 7]); std::swap(ts_obj_data[i + 1], ts_obj_data[i + 6]); std::swap(ts_obj_data[i + 2], ts_obj_data[i + 5]); - // NOLINT added because current cpplint.py is old and doesn't know that - // std::swap() now lives in instead of . - std::swap(ts_obj_data[i + 3], ts_obj_data[i + 4]); // NOLINT + std::swap(ts_obj_data[i + 3], ts_obj_data[i + 4]); } } diff --git a/src/stream_base.h b/src/stream_base.h index 903b94f346260f..f3ad51ded26bf2 100644 --- a/src/stream_base.h +++ b/src/stream_base.h @@ -261,7 +261,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 b4cc9d6ac9fb16..abc69edb87621d 100644 --- a/src/string_search.h +++ b/src/string_search.h @@ -134,7 +134,7 @@ class StringSearch : private StringSearchBase { } private: - typedef size_t (*SearchFunction)( // NOLINT - it's not a cast! + typedef size_t (*SearchFunction)( StringSearch*, Vector, size_t);