diff options
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 b8b03b2edc..aa89fbba6b 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_ |