]> source.dussan.org Git - tigervnc.git/commitdiff
Reordered initializers in ScaledPixelBuffer constructors to eliminate compilation...
authorConstantin Kaplinsky <const@tightvnc.com>
Tue, 5 Dec 2006 03:31:03 +0000 (03:31 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Tue, 5 Dec 2006 03:31:03 +0000 (03:31 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2178 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaledPixelBuffer.cxx

index 098a14d7b760250627596715ed3b6c620e78acc2..6b95058f874aa9f64dc88e18ecff1098405021da 100644 (file)
@@ -30,17 +30,17 @@ using namespace rfb;
 
 ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_,
                                      int src_height_, int scale, PixelFormat pf_)
-  : xWeightTabs(0), yWeightTabs(0), scaled_data(0), scale_ratio(1),
-    scaleFilterID(scaleFilterBicubic) {
+  : scale_ratio(1), scaleFilterID(scaleFilterBicubic),
+    xWeightTabs(0), yWeightTabs(0), scaled_data(0) {
 
   setSourceBuffer(src_data_, src_width_, src_height_);
   setPF(pf_);
 }
 
 ScaledPixelBuffer::ScaledPixelBuffer() 
-  : src_data(0), src_width(0), src_height(0), scale_ratio(1), scaled_width(0), 
-    xWeightTabs(0), yWeightTabs(0), scaled_height(0), scaled_data(0),
-    scaleFilterID(scaleFilterBicubic) {
+  : src_width(0), src_height(0), scaled_width(0), scaled_height(0),
+    scale_ratio(1), scaleFilterID(scaleFilterBicubic),
+    xWeightTabs(0), yWeightTabs(0), src_data(0), scaled_data(0) {
   memset(&pf, 0, sizeof(pf));
 }