Skip to content

Commit

Permalink
src: make deleted function public in agent.h
Browse files Browse the repository at this point in the history
Signed-off-by: gengjiawen <[email protected]>

PR-URL: #25909
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
  • Loading branch information
gengjiawen authored and danbev committed Feb 8, 2019
1 parent 2ea2000 commit 3a02d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tracing/agent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;

Expand Down

0 comments on commit 3a02d39

Please sign in to comment.