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>
This commit is contained in:
gengjiawen 2019-02-03 23:22:49 +08:00 committed by Daniel Bevenius
parent 2ea2000625
commit 3a02d39df9

View File

@ -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_;