From dbfd5385577a36508f257c00ae9593cef2a3a63e Mon Sep 17 00:00:00 2001 From: Rudi Cilibrasi Date: Mon, 22 Dec 2014 07:22:55 -0800 Subject: [PATCH] Suppresses the runtime/sizeof cpplint error using Ben's suggestion via the 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())); }