summaryrefslogtreecommitdiff
path: root/src/stream_wrap.cc
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-02-17 10:53:47 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-02-27 05:35:53 +0100
commit8137668c531935c58347cd8e78147d3a9d3cc339 (patch)
tree68a560138be9cfe9325e46aebbaab3d1f607347e /src/stream_wrap.cc
parent42551909f7c20d6b4c4c6e28695958729177455d (diff)
downloadandroid-node-v8-8137668c531935c58347cd8e78147d3a9d3cc339.tar.gz
android-node-v8-8137668c531935c58347cd8e78147d3a9d3cc339.tar.bz2
android-node-v8-8137668c531935c58347cd8e78147d3a9d3cc339.zip
src: apply clang-tidy rule modernize-deprecated-headers
PR-URL: https://github.com/nodejs/node/pull/26159 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/stream_wrap.cc')
-rw-r--r--src/stream_wrap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc
index d126f90eef..3247a604b4 100644
--- a/src/stream_wrap.cc
+++ b/src/stream_wrap.cc
@@ -31,8 +31,8 @@
#include "udp_wrap.h"
#include "util-inl.h"
-#include <string.h> // memcpy()
-#include <limits.h> // INT_MAX
+#include <cstring> // memcpy()
+#include <climits> // INT_MAX
namespace node {