Skip to content

Commit

Permalink
Merge branch 'point-context' of https://github.com/PDAL/PDAL into poi…
Browse files Browse the repository at this point in the history
…nt-context

Conflicts:
	include/pdal/PointBuffer.hpp
  • Loading branch information
abellgithub committed May 23, 2014
2 parents 378c3dc + fe855bb commit bc65d90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/pdal/IStream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class IStream
public:
IStream(const std::string& filename)
{ m_stream = m_fstream = new std::ifstream(filename); }
IStream(std::istream *stream) : m_stream{stream}, m_fstream{NULL}
IStream(std::istream *stream) : m_stream(stream), m_fstream(NULL)
{}
~IStream()
{ delete m_fstream; }
Expand Down
5 changes: 3 additions & 2 deletions include/pdal/PointBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#include <pdal/Metadata.hpp>
#include <pdal/third/nanoflann.hpp>

#include <set>
#include <vector>

namespace pdal
Expand Down Expand Up @@ -483,8 +484,8 @@ class PDAL_DLL PointBuffer
boost::uint32_t index) const;

private:
template<typename IN, typename OUT>
void convertAndSet(pdal::Dimension const& dim, PointId idx, IN in);
template<typename T_IN, typename T_OUT>
void convertAndSet(pdal::Dimension const& dim, PointId idx, T_IN in);

inline void setFieldInternal(Dimension const& dim, PointId pointIndex,
void *value);
Expand Down
4 changes: 2 additions & 2 deletions include/pdal/RawPtBuf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ namespace pdal
class RawPtBuf
{
public:
RawPtBuf(SchemaPtr schema) : m_numPts{0}, m_allocPts{0},
m_schema{schema}
RawPtBuf(SchemaPtr schema) : m_numPts(0), m_allocPts(0),
m_schema(schema)
{}

PointId addPoint()
Expand Down

0 comments on commit bc65d90

Please sign in to comment.