From c77a494e4ac7e20a466fa0cafaa258fdda810423 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 PR-URL: https://github.com/iojs/io.js/pull/202 Reviewed-By: Ben Noordhuis --- 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 84625ac..f65a7b9 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())); } -- 2.7.4