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 authored and Anna Henningsen committed 2019-02-08 14:30:53 +01:00
1 parent 4dca3ab23d
commit de9f37d314
1 file changed
+3 -3
+3 -3
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_;