diff options
author | Refael Ackermann <refack@gmail.com> | 2019-02-26 01:27:19 +0300 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-12 16:57:19 +0300 |
commit | f2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch) | |
tree | 8e7c60ae471af748fe710193a3662d13de25c3fe /src/inspector_agent.h | |
parent | 902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff) |
src: de-lint header usage
PR-URL: https://github.com/nodejs/node/pull/26306
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r-- | src/inspector_agent.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h index b8b03b2edc3..aa89fbba6bc 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -1,12 +1,7 @@ -#ifndef SRC_INSPECTOR_AGENT_H_ -#define SRC_INSPECTOR_AGENT_H_ +#pragma once #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include <memory> - -#include <cstddef> - #if !HAVE_INSPECTOR #error("This header can only be used when inspector is enabled") #endif @@ -15,6 +10,9 @@ #include "node_persistent.h" #include "v8.h" +#include <cstddef> +#include <memory> + namespace v8_inspector { class StringView; } // namespace v8_inspector @@ -143,5 +141,3 @@ class Agent { } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS - -#endif // SRC_INSPECTOR_AGENT_H_ |