Skip to content

Commit

Permalink
use copy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Mar 12, 2013
1 parent 42b9135 commit 2de2d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/Crop.cpp
Expand Up @@ -479,7 +479,7 @@ boost::uint32_t Crop::readBufferImpl(PointBuffer& data)

// we've established numPointsNeeded is > 0
PointBuffer outputData(data.getSchema(), static_cast<boost::uint32_t>(numPointsNeeded));
PointBuffer tmpData(data.getSchema(), static_cast<boost::uint32_t>(numPointsNeeded));
PointBuffer tmpData(outputData);

m_cropFilter.log()->get(logDEBUG2) << "Fetching for block of size: " << numPointsNeeded << std::endl;

Expand Down

0 comments on commit 2de2d19

Please sign in to comment.