diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-02-17 05:53:47 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-02-27 07:35:53 +0300 |
commit | 8137668c531935c58347cd8e78147d3a9d3cc339 (patch) | |
tree | 68a560138be9cfe9325e46aebbaab3d1f607347e /src/inspector_socket.cc | |
parent | 42551909f7c20d6b4c4c6e28695958729177455d (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/inspector_socket.cc')
-rw-r--r-- | src/inspector_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_socket.cc b/src/inspector_socket.cc index 7be9a01e0c4..fd10231af7c 100644 --- a/src/inspector_socket.cc +++ b/src/inspector_socket.cc @@ -11,7 +11,7 @@ #include "openssl/sha.h" // Sha-1 hash #include <map> -#include <string.h> +#include <cstring> #define ACCEPT_KEY_LENGTH base64_encoded_size(20) #define BUFFER_GROWTH_CHUNK_SIZE 1024 |