Skip to content

Commit 32d634c

Browse files
authored
Merge pull request DGtal-team#1716 from DGtal-team/BoostPriorNext
Fixing missing boost includes
2 parents 98d790d + 29132ac commit 32d634c

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

ChangeLog.md

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545

4646
## Bug fixes
4747
- *General*
48+
- Missing `boost/next_prior.hpp` includes in ReverseIterator, Melkman and Convex
49+
Hull files (David Coeurjolly, [#1716](https://github.com/DGtal-team/DGtal/pull/1716))
4850
- Activate and fix CTest tests on windows system. (Bertrand Kerautret,
4951
[#1706](https://github.com/DGtal-team/DGtal/pull/1706))
5052
- For now, removing Cairo deps install on windows (6hours long build

src/DGtal/base/ReverseIterator.h

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include "DGtal/base/IteratorCirculatorTraits.h"
4646
#include <boost/iterator.hpp>
4747
#include <boost/utility.hpp>
48+
#include <boost/next_prior.hpp>
4849
#include <boost/iterator/iterator_adaptor.hpp>
4950
//////////////////////////////////////////////////////////////////////////////
5051

src/DGtal/geometry/tools/Hull2DHelpers.ih

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
//////////////////////////////////////////////////////////////////////////////
3131
#include <cstdlib>
3232
#include <cmath>
33+
#include <boost/utility.hpp>
34+
#include <boost/next_prior.hpp>
3335

3436
#include "DGtal/kernel/PointVector.h"
3537
//////////////////////////////////////////////////////////////////////////////

src/DGtal/geometry/tools/MelkmanConvexHull.ih

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
//////////////////////////////////////////////////////////////////////////////
3131
#include <cstdlib>
32+
#include <boost/utility.hpp>
33+
#include <boost/next_prior.hpp>
3234
//////////////////////////////////////////////////////////////////////////////
3335

3436
///////////////////////////////////////////////////////////////////////////////

tests/geometry/tools/testConvexHull2DReverse.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
#include "DGtal/geometry/tools/Hull2DHelpers.h"
3737
#include "DGtal/geometry/tools/MelkmanConvexHull.h"
3838
#include "DGtal/geometry/tools/determinant/InHalfPlaneBySimple3x3Matrix.h"
39-
40-
4139
///////////////////////////////////////////////////////////////////////////////
4240

4341
using namespace std;

0 commit comments

Comments
 (0)