mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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:
1 parent
4dca3ab23d
commit
de9f37d314
1 file changed
+3
-3
+3
-3
@@ -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_;
|
||||
|
||||
|
||||
Reference in new issue
Block a user