[similarity] Add missing #ifdefs for headers.

This commit is contained in:
Adam Wulkiewicz 2018-09-15 14:01:30 +02:00
parent 4d34bb7fae
commit 651b3dba77
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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