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

win/rfb_win32/ScaledDIBSectionBuffer.cxx

index a3eb4fb3cf7e31489807e5fea7165e8f0b6345ec..f309e6aa09d9dbfef4df88545a9e09d02151c59f 100644 (file)
@@ -31,7 +31,7 @@ using namespace win32;
 const PixelFormat RGB24(32, 24, 0, 1, 255, 255, 255, 16, 8, 0);
 
 ScaledDIBSectionBuffer::ScaledDIBSectionBuffer(HWND window) 
-  : src_buffer(0), scaling(false), DIBSectionBuffer(window) {
+  : DIBSectionBuffer(window), src_buffer(0), scaling(false) {
   scaled_data = &data;
 }