Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: add missing namespace using statements in node_watchdog.h #32117

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/node_watchdog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace node {
using v8::Context;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Local;
using v8::Object;
using v8::Value;

Expand Down
8 changes: 4 additions & 4 deletions src/node_watchdog.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ class SigintWatchdog : public SigintWatchdogBase {

class TraceSigintWatchdog : public HandleWrap, public SigintWatchdogBase {
public:
static void Init(Environment* env, Local<v8::Object> target);
static void Init(Environment* env, v8::Local<v8::Object> target);
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Start(const v8::FunctionCallbackInfo<Value>& args);
static void Stop(const v8::FunctionCallbackInfo<Value>& args);
static void Start(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Stop(const v8::FunctionCallbackInfo<v8::Value>& args);

SignalPropagation HandleSigint() override;

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

TraceSigintWatchdog(Environment* env, Local<v8::Object> object);
TraceSigintWatchdog(Environment* env, v8::Local<v8::Object> object);
void HandleInterrupt();

bool interrupting = false;
Expand Down