Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3375 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx
index 94ce891..74d6818 100644
--- a/win/vncviewer/CConn.cxx
+++ b/win/vncviewer/CConn.cxx
@@ -74,9 +74,9 @@
CConn::CConn()
- : window(0), sock(0), sockEvent(CreateEvent(0, TRUE, FALSE, 0)), requestUpdate(false),
- sameMachine(false), encodingChange(false), formatChange(false),
- reverseConnection(false), lastUsedEncoding_(encodingRaw), isClosed_(false) {
+ : window(0), sameMachine(false), encodingChange(false), formatChange(false),
+ lastUsedEncoding_(encodingRaw), sock(0), sockEvent(CreateEvent(0, TRUE, FALSE, 0)),
+ reverseConnection(false), requestUpdate(false), isClosed_(false) {
}
CConn::~CConn() {