[geos-commits] r4256 - trunk/tests/unit/capi

Sandro Santilli strk at kbt.io
Wed Sep 7 06:05:34 PDT 2016


Author: strk
Date: 2016-09-07 06:05:34 -0700 (Wed, 07 Sep 2016)
New Revision: 4256

Modified:
   trunk/tests/unit/capi/GEOSGeom_createCollection.cpp
Log:
Fix initialization order warning

Modified: trunk/tests/unit/capi/GEOSGeom_createCollection.cpp
===================================================================
--- trunk/tests/unit/capi/GEOSGeom_createCollection.cpp	2016-09-07 13:03:04 UTC (rev 4255)
+++ trunk/tests/unit/capi/GEOSGeom_createCollection.cpp	2016-09-07 13:05:34 UTC (rev 4256)
@@ -1,4 +1,4 @@
-// 
+//
 // Test Suite for C-API GEOSGeom_createCollection
 
 #include <tut.hpp>
@@ -36,12 +36,12 @@
             va_start(ap, fmt);
             std::vfprintf(stdout, fmt, ap);
             va_end(ap);
-        
+
             std::fprintf(stdout, "\n");
         }
 
         test_capigeosgeom_createcollection_data()
-            : geom_(0), handle_(initGEOS_r(notice, notice))
+            : handle_(initGEOS_r(notice, notice)), geom_(0)
         {
         }
 



More information about the geos-commits mailing list