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:
parent
2ea2000625
commit
3a02d39df9
@ -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_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user