Removed unneeded friend declarations. Nested class already has access
to all the names(private, protected) to which enclosing class has
access(as of C++11).
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Reader(Pipe *p) : pipe(p) {}
void *entry() { pipe->reader(); return 0; }
} reader_thread;
- friend class Reader;
/**
* The Writer thread handles all writes to the socket (after startup).
Writer(Pipe *p) : pipe(p) {}
void *entry() { pipe->writer(); return 0; }
} writer_thread;
- friend class Writer;
/**
* The DelayedDelivery is for injecting delays into Message delivery off
*/
void stop_fast_dispatching();
} *delay_thread;
- friend class DelayedDelivery;
public:
Pipe(SimpleMessenger *r, int st, PipeConnection *con);