Skip to content

Commit c77a494

Browse files
Rudi Cilibrasibnoordhuis
Rudi Cilibrasi
authored andcommitted
src: remove cpplint error using NOLINT directive
PR-URL: #202 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 6af9483 commit c77a494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_crypto.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ template int SSLWrap<TLSCallbacks>::TLSExtStatusCallback(SSL* s, void* arg);
150150

151151

152152
static void crypto_threadid_cb(CRYPTO_THREADID* tid) {
153-
static_assert(sizeof(uv_thread_t) <= sizeof(void*),
153+
static_assert(sizeof(uv_thread_t) <= sizeof(void*), // NOLINT(runtime/sizeof)
154154
"uv_thread_t does not fit in a pointer");
155155
CRYPTO_THREADID_set_pointer(tid, reinterpret_cast<void*>(uv_thread_self()));
156156
}

0 commit comments

Comments
 (0)