[Liblas-commits] hg: 2 new changesets

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Aug 24 05:46:40 EDT 2010


changeset a9b14ba0eb8f in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=a9b14ba0eb8f
summary: Missing <boost/cstdint.hpp> header.

changeset bb070c13d79e in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=bb070c13d79e
summary: Missing boost:: qualification

diffstat:

 apps/las2las2.cpp         |  8 +++++---
 src/lasindex.cpp          |  2 +-
 src/lasvariablerecord.cpp |  2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 6e50f3513398 -r bb070c13d79e apps/las2las2.cpp
--- a/apps/las2las2.cpp	Mon Aug 23 22:54:48 2010 -0500
+++ b/apps/las2las2.cpp	Tue Aug 24 10:50:49 2010 +0100
@@ -12,6 +12,8 @@
 #include <liblas/liblas.hpp>
 #include "laskernel.hpp"
 
+#include <boost/cstdint.hpp>
+
 // #include <fstream>
 // #include <iostream>
 // #include <sstream>
@@ -99,7 +101,7 @@
                 liblas::Header const& header,
                 std::vector<liblas::FilterI*>& filters,
                 std::vector<liblas::TransformI*>& transforms,
-                uint32_t split_size,
+                boost::uint32_t split_size,
                 bool verbose)
 {
 
@@ -202,7 +204,7 @@
 int main(int argc, char* argv[])
 {
 
-    uint32_t split_size;
+    boost::uint32_t split_size;
     std::string input;
     std::string output;
     
@@ -224,7 +226,7 @@
 
         file_options.add_options()
             ("help,h", "produce help message")
-            ("split,s", po::value<uint32_t>(&split_size)->default_value(0), "Split file into multiple files with each being this size in MB or less. If this value is 0, no splitting is done")
+            ("split,s", po::value<boost::uint32_t>(&split_size)->default_value(0), "Split file into multiple files with each being this size in MB or less. If this value is 0, no splitting is done")
             ("input,i", po::value< string >(), "input LAS file")
             ("output,o", po::value< string >(&output)->default_value("output.las"), "output LAS file")
             ("verbose,v", po::value<bool>(&verbose)->zero_tokens(), "Verbose message output")
diff -r 6e50f3513398 -r bb070c13d79e src/lasindex.cpp
--- a/src/lasindex.cpp	Mon Aug 23 22:54:48 2010 -0500
+++ b/src/lasindex.cpp	Tue Aug 24 10:50:49 2010 +0100
@@ -520,7 +520,7 @@
 					// number of point records in subcell
 					boost::uint32_t SubCellNumRecords;
 					ReadVLRData_n(SubCellNumRecords, CompositeData, ReadPos);
-					for (uint32_t SubCellPt = 0; SubCellPt < SubCellNumRecords; ++SubCellPt)
+					for (boost::uint32_t SubCellPt = 0; SubCellPt < SubCellNumRecords; ++SubCellPt)
 					{
 						boost::uint32_t PointID, LastPointID = static_cast<boost::uint32_t>(~0);
 						bool LastPtRead = 0;
diff -r 6e50f3513398 -r bb070c13d79e src/lasvariablerecord.cpp
--- a/src/lasvariablerecord.cpp	Mon Aug 23 22:54:48 2010 -0500
+++ b/src/lasvariablerecord.cpp	Tue Aug 24 10:50:49 2010 +0100
@@ -211,7 +211,7 @@
     return sum;
 }
 
-boost::property_tree::ptree VariableRecord::GetPTree( ) const
+boost::property_tree::ptree VariableRecord::GetPTree() const
 {
     using boost::property_tree::ptree;
     ptree vlr;


More information about the Liblas-commits mailing list