Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-02-17 05:53:47 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-02-27 07:35:53 +0300
commit8137668c531935c58347cd8e78147d3a9d3cc339 (patch)
tree68a560138be9cfe9325e46aebbaab3d1f607347e /src/string_bytes.cc
parent42551909f7c20d6b4c4c6e28695958729177455d (diff)
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/string_bytes.cc')
-rw-r--r--src/string_bytes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_bytes.cc b/src/string_bytes.cc
index 53bb95d80da..041868cb1e7 100644
--- a/src/string_bytes.cc
+++ b/src/string_bytes.cc
@@ -27,8 +27,8 @@
#include "node_errors.h"
#include "util.h"
-#include <limits.h>
-#include <string.h> // memcpy
+#include <climits>
+#include <cstring> // memcpy
#include <algorithm>
#include <vector>