[Liblas-commits] hg: qualify stdint types with boost:: namespace for compilers th...

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Jan 7 10:55:26 EST 2011


details:   http://hg.liblas.orghg/rev/d04b79647047
changeset: 2704:d04b79647047
user:      Howard Butler <hobu.inc at gmail.com>
date:      Fri Jan 07 09:55:21 2011 -0600
description:
qualify stdint types with boost:: namespace for compilers that do not have them

diffstat:

 src/detail/zippoint.cpp |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 8034511a1aff -r d04b79647047 src/detail/zippoint.cpp
--- a/src/detail/zippoint.cpp	Fri Jan 07 09:54:07 2011 -0600
+++ b/src/detail/zippoint.cpp	Fri Jan 07 09:55:21 2011 -0600
@@ -230,7 +230,7 @@
     assert(p == data + record_length_after_header);
 
     // Ick.
-    std::vector<uint8_t> vdata;
+    std::vector<boost::uint8_t> vdata;
     for (boost::uint32_t i=0; i<record_length_after_header; i++)
     {
         vdata.push_back(data[i]);
@@ -285,7 +285,7 @@
     boost::uint8_t* data = new boost::uint8_t[record_length_after_header];
     boost::uint8_t* p = data;
 
-    const std::vector<uint8_t>& vdata = vlr.GetData();
+    const std::vector<boost::uint8_t>& vdata = vlr.GetData();
     for (boost::uint32_t i=0; i<record_length_after_header; i++)
     {
         data[i] = vdata[i];


More information about the Liblas-commits mailing list