[Liblas-commits] r1215 - trunk/src

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Apr 16 09:49:16 EDT 2009


Author: mloskot
Date: Thu Apr 16 09:49:15 2009
New Revision: 1215
URL: http://liblas.org/changeset/1215

Log:
Reordered LASPoint initialization list according to recently updated (r1211) order of data member declarations (fat data go first).

Modified:
   trunk/src/laspoint.cpp

Modified: trunk/src/laspoint.cpp
==============================================================================
--- trunk/src/laspoint.cpp	(original)
+++ trunk/src/laspoint.cpp	Thu Apr 16 09:49:15 2009
@@ -50,25 +50,25 @@
 namespace liblas {
 
 LASPoint::LASPoint() :
+    m_gpsTime(0),
     m_intensity(0),
+    m_pointSourceId(0),
     m_flags(0),
-    m_angleRank(0),
     m_userData(0),
-    m_pointSourceId(0),
-    m_gpsTime(0)
+    m_angleRank(0)
 {
     std::memset(m_coords, 0, sizeof(m_coords));
 }
 
 LASPoint::LASPoint(LASPoint const& other) :
+    m_gpsTime(other.m_gpsTime),
+    m_color(other.m_color),
+    m_cls(other.m_cls),
     m_intensity(other.m_intensity),
+    m_pointSourceId(other.m_pointSourceId),
     m_flags(other.m_flags),
-    m_cls(other.m_cls),
-    m_angleRank(other.m_angleRank),
     m_userData(other.m_userData),
-    m_pointSourceId(other.m_pointSourceId),
-    m_gpsTime(other.m_gpsTime),
-    m_color(other.m_color)
+    m_angleRank(other.m_angleRank)
 {
     std::memcpy(m_coords, other.m_coords, sizeof(m_coords));
 }


More information about the Liblas-commits mailing list