Skip to content

Commit bd75688

Browse files
legendecasMylesBorins
authored andcommitted
src: add missing namespace using statements in node_watchdog.h
Although these `using`s can derived from other header files, it will be better to be self-contained. PR-URL: #32117 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent c106a85 commit bd75688

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/node_watchdog.cc

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace node {
3434
using v8::Context;
3535
using v8::FunctionCallbackInfo;
3636
using v8::FunctionTemplate;
37+
using v8::Local;
3738
using v8::Object;
3839
using v8::Value;
3940

src/node_watchdog.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ class SigintWatchdog : public SigintWatchdogBase {
8383

8484
class TraceSigintWatchdog : public HandleWrap, public SigintWatchdogBase {
8585
public:
86-
static void Init(Environment* env, Local<v8::Object> target);
86+
static void Init(Environment* env, v8::Local<v8::Object> target);
8787
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
88-
static void Start(const v8::FunctionCallbackInfo<Value>& args);
89-
static void Stop(const v8::FunctionCallbackInfo<Value>& args);
88+
static void Start(const v8::FunctionCallbackInfo<v8::Value>& args);
89+
static void Stop(const v8::FunctionCallbackInfo<v8::Value>& args);
9090

9191
SignalPropagation HandleSigint() override;
9292

@@ -99,7 +99,7 @@ class TraceSigintWatchdog : public HandleWrap, public SigintWatchdogBase {
9999
private:
100100
enum class SignalFlags { None, FromIdle, FromInterrupt };
101101

102-
TraceSigintWatchdog(Environment* env, Local<v8::Object> object);
102+
TraceSigintWatchdog(Environment* env, v8::Local<v8::Object> object);
103103
void HandleInterrupt();
104104

105105
bool interrupting = false;

0 commit comments

Comments
 (0)