Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59794 - sandbox/geometry/libs/geometry/example
From: mateusz_at_[hidden]
Date: 2010-02-20 16:04:32


Author: mloskot
Date: 2010-02-20 16:04:31 EST (Sat, 20 Feb 2010)
New Revision: 59794
URL: http://svn.boost.org/trac/boost/changeset/59794

Log:
Geometry: removed unused variable warning
Text files modified:
   sandbox/geometry/libs/geometry/example/c07_custom_ring_pointer_example.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: sandbox/geometry/libs/geometry/example/c07_custom_ring_pointer_example.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/example/c07_custom_ring_pointer_example.cpp (original)
+++ sandbox/geometry/libs/geometry/example/c07_custom_ring_pointer_example.cpp 2010-02-20 16:04:31 EST (Sat, 20 Feb 2010)
@@ -90,6 +90,8 @@
     double aa = boost::geometry::area(a);
     double ab = boost::geometry::area(b);
 
+ std::cout << "a: " << aa << std::endl;
+ std::cout << "b: " << ab << std::endl;
 
     // This will NOT work because would need dynamicly allocating memory for point* in algorithms:
     //std::vector<ring_type> unioned;


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