mirror of https://github.com/nodejs/node.git
src: remove cpplint error using NOLINT directive
PR-URL: https://github.com/iojs/io.js/pull/202 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>pull/202/merge
parent
6af94831a8
commit
c77a494e4a
|
@ -150,7 +150,7 @@ template int SSLWrap<TLSCallbacks>::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<void*>(uv_thread_self()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue