diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-02-03 18:22:49 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-02-08 09:22:24 +0300 |
commit | 3a02d39df9f156ae12fac42f8ced75394bf67f0f (patch) | |
tree | 616cc1dc6cd5fc93d1cbd0f2df9b7e98fbb2cc30 /src/tracing | |
parent | 2ea20006256caf844dc8d297868544790807aa52 (diff) |
src: make deleted function public in agent.h
Signed-off-by: gengjiawen <technicalcute@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/25909
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/tracing')
-rw-r--r-- | src/tracing/agent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tracing/agent.h b/src/tracing/agent.h index c2cd8281641..d7d67ce2de6 100644 --- a/src/tracing/agent.h +++ b/src/tracing/agent.h @@ -63,12 +63,12 @@ class AgentWriterHandle { inline v8::TracingController* GetTracingController(); - private: - inline AgentWriterHandle(Agent* agent, int id) : agent_(agent), id_(id) {} - AgentWriterHandle(const AgentWriterHandle& other) = delete; AgentWriterHandle& operator=(const AgentWriterHandle& other) = delete; + private: + inline AgentWriterHandle(Agent* agent, int id) : agent_(agent), id_(id) {} + Agent* agent_ = nullptr; int id_; |