static std::unique_ptr<Client> client_;
public:
Client();
- Client(int fd) : active_(true), channel_(fd) {}
+ explicit Client(int fd) : active_(true), channel_(fd) {}
void handleMessages();
Channel const& getChannel() const { return channel_; }
Channel& getChannel() { return channel_; }
- void mainLoop(void);
+ void mainLoop();
void reportAssertionFailure(const char* description = nullptr);
void ignoreMemory(void* addr, std::size_t size);
void ignoreHeap(void* addr, std::size_t size);