[test][algorithms] Fix unused parameter warnings.

This commit is contained in:
Adam Wulkiewicz 2014-10-20 18:17:41 +02:00
parent 7c5056dae1
commit 0526a104eb
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,7 @@
template <int DimensionCount, bool Reverse, typename Geometry>
void test_sectionalize(std::string const caseid, Geometry const& geometry, std::size_t section_count)
void test_sectionalize(std::string const /*caseid*/, Geometry const& geometry, std::size_t section_count)
{
typedef typename bg::point_type<Geometry>::type point;
typedef bg::model::box<point> box;

View File

@ -20,6 +20,8 @@ namespace bg = ::boost::geometry;
#include <algorithm>
#include <fstream>
#include <boost/core/ignore_unused.hpp>
#include <boost/geometry/policies/compare.hpp>
#include <boost/geometry/algorithms/equals.hpp>
@ -43,6 +45,8 @@ void set_operation_output(std::string const& set_op_id,
G1 const& g1, G2 const& g2,
Output const& output)
{
boost::ignore_unused(set_op_id, caseid, g1, g2, output);
#if defined(TEST_WITH_SVG)
typedef typename bg::coordinate_type<G1>::type coordinate_type;
typedef typename bg::point_type<G1>::type point_type;