Skip to content

Commit

Permalink
use readBeginImpl instead of readBufferBeginImpl now that the iterato…
Browse files Browse the repository at this point in the history
…r has a buffer being given to it
  • Loading branch information
hobu committed Mar 2, 2012
1 parent 7178072 commit 9724397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/pdal/drivers/las/Reader.hpp
Expand Up @@ -188,7 +188,7 @@ class Reader : public Base, public pdal::ReaderRandomIterator
~Reader();

protected:
virtual void readBufferBeginImpl(PointBuffer&);
virtual void readBeginImpl();

private:
boost::uint64_t seekImpl(boost::uint64_t);
Expand Down
4 changes: 2 additions & 2 deletions src/drivers/las/Reader.cpp
Expand Up @@ -745,10 +745,10 @@ Reader::~Reader()
return;
}

void Reader::readBufferBeginImpl(PointBuffer& buffer)
void Reader::readBeginImpl()
{
// We'll assume you're not changing the schema per-read call
Schema const& schema = buffer.getSchema();
Schema const& schema = getBuffer().getSchema();
if (m_schema != &schema)
{
m_schema = &schema;
Expand Down

0 comments on commit 9724397

Please sign in to comment.