[similarity] Add missing #ifdefs for headers.
This commit is contained in:
parent
4d34bb7fae
commit
651b3dba77
@ -8,6 +8,9 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_GEOMETRY_ALGORITHMS_DISCRETE_FRECHET_DISTANCE_HPP
|
||||
#define BOOST_GEOMETRY_ALGORITHMS_DISCRETE_FRECHET_DISTANCE_HPP
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef BOOST_GEOMETRY_DEBUG_FRECHET_DISTANCE
|
||||
@ -219,3 +222,5 @@ discrete_frechet_distance(Geometry1 const& geometry1, Geometry2 const& geometry2
|
||||
}
|
||||
|
||||
}} // namespace boost::geometry
|
||||
|
||||
#endif // BOOST_GEOMETRY_ALGORITHMS_DISCRETE_FRECHET_DISTANCE_HPP
|
||||
|
@ -8,6 +8,9 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_GEOMETRY_ALGORITHMS_DISCRETE_HAUSDORFF_DISTANCE_HPP
|
||||
#define BOOST_GEOMETRY_ALGORITHMS_DISCRETE_HAUSDORFF_DISTANCE_HPP
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef BOOST_GEOMETRY_DEBUG_HAUSDORFF_DISTANCE
|
||||
@ -327,3 +330,5 @@ discrete_hausdorff_distance(Geometry1 const& g1, Geometry2 const& g2)
|
||||
}
|
||||
|
||||
}} // namespace boost::geometry
|
||||
|
||||
#endif // BOOST_GEOMETRY_ALGORITHMS_DISCRETE_HAUSDORFF_DISTANCE_HPP
|
||||
|
Loading…
Reference in New Issue
Block a user