From 57d9134838e6aa1706b5d6d50030271986ddad1f Mon Sep 17 00:00:00 2001 From: Rudi Cilibrasi Date: Tue, 23 Dec 2014 08:08:06 -0800 Subject: [PATCH] src: remove cpplint error using NOLINT directive --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 84625ac8c08cd4..f65a7b902f510a 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -150,7 +150,7 @@ template int SSLWrap::TLSExtStatusCallback(SSL* s, void* arg); static void crypto_threadid_cb(CRYPTO_THREADID* tid) { - static_assert(sizeof(uv_thread_t) <= sizeof(void*), + static_assert(sizeof(uv_thread_t) <= sizeof(void*), // NOLINT(runtime/sizeof) "uv_thread_t does not fit in a pointer"); CRYPTO_THREADID_set_pointer(tid, reinterpret_cast(uv_thread_self())); }