Fork of NetServicesMin with some warnings removed
Fork of NetServicesMin by
Diff: core/host.h
- Revision:
- 2:9cc2c6e42ffd
- Parent:
- 0:8b387bed54c2
diff -r 9d93f4dc2f46 -r 9cc2c6e42ffd core/host.h --- a/core/host.h Wed Jul 18 20:28:43 2012 +0000 +++ b/core/host.h Tue Oct 30 05:20:56 2012 +0000 @@ -38,13 +38,13 @@ { public: ///Initiliazes host with null values - Host() : m_ip(0,0,0,0), m_port(0), m_name(NULL) + Host() : m_ip(0,0,0,0), m_port(0), m_name(0) { } ///Initializes host - Host(const IpAddr& ip, const int& port, const char* name="" ) : m_ip(ip), m_port(port), m_name(NULL) + Host(const IpAddr& ip, const int& port, const char* name="" ) : m_ip(ip), m_port(port), m_name(0) { setName(name); }