]> source.dussan.org Git - tigervnc.git/commitdiff
Avoid GCC warning: initializer lists ordered as declarations
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:29:06 +0000 (10:29 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:29:06 +0000 (10:29 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/DIBSectionBuffer.cxx

index 18ce3ea46f6f15e47d00423f034eb53546e3dd0a..3c2f509651a47fe4160d27e1fd9f0e654cb353b7 100644 (file)
@@ -28,7 +28,7 @@ static LogWriter vlog("DIBSectionBuffer");
 
 
 DIBSectionBuffer::DIBSectionBuffer(HWND window_)
-  : bitmap(0), device(0), window(window_) {
+  : bitmap(0), window(window_), device(0) {
   memset(&format, 0, sizeof(format));
   memset(palette, 0, sizeof(palette));
 }