Skip to content

Commit 2e0a4e7

Browse files
Unit tests for octree begin/end iterators
1 parent 28940b9 commit 2e0a4e7

File tree

3 files changed

+394
-3
lines changed

3 files changed

+394
-3
lines changed

octree/include/pcl/octree/octree_iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ namespace pcl
511511
: OctreeIteratorBase<OctreeT> (other)
512512
, FIFO_ (other.FIFO_)
513513
{
514-
this->current_state_ = FIFO_.size()? &FIFO_.front () : NULL;
514+
this->current_state_ = FIFO_.size ()? &FIFO_.front () : NULL;
515515
}
516516

517517
/** \brief Copy operator.

test/octree/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ if (build)
1313
LINK_WITH pcl_gtest pcl_common)
1414
PCL_ADD_TEST(a_octree_iterator_test test_octree_iterator
1515
FILES test_octree_iterator.cpp
16-
LINK_WITH pcl_gtest pcl_octree)
16+
LINK_WITH pcl_gtest pcl_common pcl_octree)
1717
endif (build)

0 commit comments

Comments
 (0)