Skip to content

Commit

Permalink
src: remove cpplint error using NOLINT directive
Browse files Browse the repository at this point in the history
PR-URL: nodejs#202
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
Rudi Cilibrasi authored and bnoordhuis committed Dec 23, 2014
1 parent 6af9483 commit c77a494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit c77a494

Please sign in to comment.