Skip to content

Commit

Permalink
Merge pull request #2246 from taketwo/fix-plyreader
Browse files Browse the repository at this point in the history
Remove useless size check in PLYReader::endHeaderCallback()
  • Loading branch information
SergioRAgostinho authored Mar 6, 2018
2 parents 8824a27 + 4d6c665 commit f37c346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/src/ply_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ bool
pcl::PLYReader::endHeaderCallback ()
{
cloud_->data.resize (static_cast<size_t>(cloud_->point_step) * cloud_->width * cloud_->height);
return (cloud_->data.size () == cloud_->point_step * cloud_->width * cloud_->height);
return (true);
}

template<typename Scalar> void
Expand Down

0 comments on commit f37c346

Please sign in to comment.