From adb0e20f1ced0f5f7cbb66cc81954505c74b4fc1 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 3 Feb 2019 23:22:49 +0800 Subject: [PATCH] src: make deleted function public in agent.h Signed-off-by: gengjiawen --- src/tracing/agent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tracing/agent.h b/src/tracing/agent.h index 62073ba6b214ef..4476a3b52120d3 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_;