[Liblas-commits] hg: disambiguate types

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Jul 20 16:23:35 EDT 2010


changeset 00c136e44be0 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=00c136e44be0
summary: disambiguate types

diffstat:

 apps/las2oci.cpp |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r ca2db778c95f -r 00c136e44be0 apps/las2oci.cpp
--- a/apps/las2oci.cpp	Tue Jul 20 14:33:54 2010 -0500
+++ b/apps/las2oci.cpp	Tue Jul 20 15:23:30 2010 -0500
@@ -56,8 +56,8 @@
     void SetIDs(IDVector& v) {ids = v;}
     const liblas::Bounds GetBounds() const { return bounds; }
     void SetBounds(const liblas::Bounds b) {bounds = b;}
-    uint32_t GetID() const {return m_id;}
-    void SetID(uint32_t v) {m_id = v;}
+    liblas::uint32_t GetID() const {return m_id;}
+    void SetID(liblas::uint32_t v) {m_id = v;}
 
 private:
     IDVector ids;
@@ -120,7 +120,7 @@
         liblas::Bounds b(low[0], low[1], high[0],high[1]);
         // SpatialIndex::Region* pr = new SpatialIndex::Region(low, high, 2);
         // printf("Ids size: %d %.3f\n", ids.size(), pr->getLow(0));
-        IndexResult result(static_cast<uint32_t>(id));
+        IndexResult result(static_cast<liblas::uint32_t>(id));
         result.SetIDs(ids);
         result.SetBounds(b);
         m_results.push_back(result);


More information about the Liblas-commits mailing list