Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

because PointBuffer only allows a boost::uint32_t-sized array anyway,…

… we should take this is as our position instead of std::size_t.
  • Loading branch information...
commit d21dda567b4fd4012c2b4429558f5c6cf37b6ad7 1 parent 10f32bc
@hobu hobu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/pdal/PointBuffer.hpp
View
4 include/pdal/PointBuffer.hpp
@@ -168,7 +168,7 @@ class PDAL_DLL PointBuffer
will simply be saturated.
\endverbatim
*/
- template<class T> T const& getField(Dimension const& dim, std::size_t pointIndex) const;
+ template<class T> T const& getField(Dimension const& dim, boost::uint32_t pointIndex) const;
/*! set the value T for a given pdal::Dimension dim at pointIndex i.
\param dim pdal::Dimension instance describing the dimension to select
@@ -368,7 +368,7 @@ inline void PointBuffer::setField(pdal::Dimension const& dim, std::size_t pointI
}
template <class T>
-inline T const& PointBuffer::getField(pdal::Dimension const& dim, std::size_t pointIndex) const
+inline T const& PointBuffer::getField(pdal::Dimension const& dim, boost::uint32_t pointIndex) const
{
if (dim.getPosition() == -1)
{

0 comments on commit d21dda5

Please sign in to comment.
Something went wrong with that request. Please try again.