Skip to content

Commit

Permalink
fixup defines for when no hexbin
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 23, 2013
1 parent 44add25 commit 83f4d68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pdal/filters/HexBin.hpp
Expand Up @@ -100,13 +100,13 @@ class PDAL_DLL IteratorBase
Dimension const* m_dim_y;

#ifdef PDAL_HAVE_HEXER
std::vector<hexer::Point> m_samples;
hexer::HexGrid* m_grid;
std::vector<hexer::Point> m_samples;
#endif
boost::uint32_t m_sample_size;
boost::uint32_t m_sample_number;
boost::int32_t m_density;
double m_edge_size;
#endif

};

Expand Down
2 changes: 2 additions & 0 deletions src/filters/HexBin.cpp
Expand Up @@ -93,7 +93,9 @@ namespace hexbin
IteratorBase::IteratorBase( pdal::filters::HexBin const& filter,
PointBuffer& buffer)
: m_filter(filter)
#ifdef PDAL_HAVE_HEXER
, m_grid(0)
#endif
, m_sample_size(0)
, m_sample_number(0)
, m_density(10)
Expand Down

0 comments on commit 83f4d68

Please sign in to comment.