src: remove cpplint error using NOLINT directive
authorRudi Cilibrasi <cilibrar@morefuntechnologies.com>
Tue, 23 Dec 2014 16:08:06 +0000 (08:08 -0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 23 Dec 2014 14:43:19 +0000 (15:43 +0100)
PR-URL: https://github.com/iojs/io.js/pull/202
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
src/node_crypto.cc

index 84625ac8c08cd4aebbf44e8e1d9a8bd56c4a7bb2..f65a7b902f510a255bd378b649614c263c693b8d 100644 (file)
@@ -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()));
 }