Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76587 - trunk/libs/geometry/doc/src/examples/algorithms
From: barend.gehrels_at_[hidden]
Date: 2012-01-19 11:18:38


Author: barendgehrels
Date: 2012-01-19 11:18:37 EST (Thu, 19 Jan 2012)
New Revision: 76587
URL: http://svn.boost.org/trac/boost/changeset/76587

Log:
[Geometry] Fixed unused parameters warnings in 2 files (doc/src/examples)
Text files modified:
   trunk/libs/geometry/doc/src/examples/algorithms/create_svg_overlay.hpp | 5 +++++
   trunk/libs/geometry/doc/src/examples/algorithms/create_svg_two.hpp | 4 ++++
   2 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/libs/geometry/doc/src/examples/algorithms/create_svg_overlay.hpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/create_svg_overlay.hpp (original)
+++ trunk/libs/geometry/doc/src/examples/algorithms/create_svg_overlay.hpp 2012-01-19 11:18:37 EST (Thu, 19 Jan 2012)
@@ -44,6 +44,11 @@
         mapper.text(boost::geometry::return_centroid<point_type>(g), out.str(),
                     "fill:rgb(0,0,0);font-family:Arial;font-size:10px");
     }
+#else
+ boost::ignore_unused_variable_warning(filename);
+ boost::ignore_unused_variable_warning(a);
+ boost::ignore_unused_variable_warning(b);
+ boost::ignore_unused_variable_warning(range);
 #endif
 }
 

Modified: trunk/libs/geometry/doc/src/examples/algorithms/create_svg_two.hpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/create_svg_two.hpp (original)
+++ trunk/libs/geometry/doc/src/examples/algorithms/create_svg_two.hpp 2012-01-19 11:18:37 EST (Thu, 19 Jan 2012)
@@ -40,6 +40,10 @@
     {
         mapper.map(b, "opacity:0.8;fill:none;stroke:rgb(255,128,0);stroke-width:4;stroke-dasharray:1,7;stroke-linecap:round");
     }
+#else
+ boost::ignore_unused_variable_warning(filename);
+ boost::ignore_unused_variable_warning(a);
+ boost::ignore_unused_variable_warning(b);
 #endif
 }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk