diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-29 23:19:09 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-29 23:48:58 -0700 |
commit | 38833205e4011a8a318b8dc6809621a89ad9f446 (patch) | |
tree | eb1c8c8a4b9b6a9718b87df5cf13832ba0fecf68 /includes/Socket.h | |
parent | 3f1b0920d697afff0f3e938cb7eca0aacfd75a91 (diff) |
Using true C++11 initializers in classes.
Diffstat (limited to 'includes/Socket.h')
-rw-r--r-- | includes/Socket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/Socket.h b/includes/Socket.h index 4a73277..981a385 100644 --- a/includes/Socket.h +++ b/includes/Socket.h @@ -50,9 +50,9 @@ class Socket : public Handle { int m_fd; String m_name; - bool m_connected; - bool m_connecting; - bool m_listening; + bool m_connected = false; + bool m_connecting = false; + bool m_listening = false; sockaddr_in6 m_localAddr, m_remoteAddr; SocketEvent * m_evtR, * m_evtW; }; |