std::string host;
std::string serv;
Family family = UNSPEC;
- SockAddr *addr = 0;
- std::runtime_error *error = 0;
+ SockAddr *addr = nullptr;
+ std::runtime_error *error = nullptr;
bool is_complete() const { return addr || error; }
};
sigc::signal<void, unsigned, const std::exception &> signal_resolve_failed;
private:
- IO::EventDispatcher *event_disp = 0;
+ IO::EventDispatcher *event_disp = nullptr;
WorkerThread thread;
unsigned next_tag = 1;