From: Peter Åstrand Date: Wed, 10 Dec 2008 12:07:33 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~309 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5327f41e63a2962de2e5d7d3d47043cb1920e2a4;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3360 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.cxx b/win/rfb_win32/ScaledDIBSectionBuffer.cxx index a3eb4fb3..f309e6aa 100644 --- a/win/rfb_win32/ScaledDIBSectionBuffer.cxx +++ b/win/rfb_win32/ScaledDIBSectionBuffer.cxx @@ -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; }