Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78312 - sandbox/gtl/libs/polygon/benchmark
From: sydorchuk.andriy_at_[hidden]
Date: 2012-05-02 18:25:08


Author: asydorchuk
Date: 2012-05-02 18:25:07 EDT (Wed, 02 May 2012)
New Revision: 78312
URL: http://svn.boost.org/trac/boost/changeset/78312

Log:
Fixing benchmark targets on Windows.
Text files modified:
   sandbox/gtl/libs/polygon/benchmark/Jamfile.v2 | 2 ++
   sandbox/gtl/libs/polygon/benchmark/voronoi_benchmark_segments.cpp | 2 +-
   2 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/gtl/libs/polygon/benchmark/Jamfile.v2
==============================================================================
--- sandbox/gtl/libs/polygon/benchmark/Jamfile.v2 (original)
+++ sandbox/gtl/libs/polygon/benchmark/Jamfile.v2 2012-05-02 18:25:07 EDT (Wed, 02 May 2012)
@@ -20,6 +20,7 @@
 # <library>$(CGAL_ROOT)/auxiliary/gmp/lib/libmpfr-4.lib
 # <library>$(BOOST_ROOT)/libs/thread/build//boost_thread
 # <library>$(BOOST_ROOT)/lib/libboost_thread-vc90-mt-1_48.lib
+# <library>$(BOOST_ROOT)/libs/test/build//boost_unit_test_framework
 # <include>$(SHULL_ROOT)
 # ;
 
@@ -36,6 +37,7 @@
         <library>$(CGAL_ROOT)/lib/libCGAL_Core.so
         <include>$(SHULL_ROOT)
         <library>$(SHULL_ROOT)/s_hull.so
+ <library>$(BOOST_ROOT)/libs/test/build//boost_unit_test_framework
     ;
 
 alias "benchmark-general"

Modified: sandbox/gtl/libs/polygon/benchmark/voronoi_benchmark_segments.cpp
==============================================================================
--- sandbox/gtl/libs/polygon/benchmark/voronoi_benchmark_segments.cpp (original)
+++ sandbox/gtl/libs/polygon/benchmark/voronoi_benchmark_segments.cpp 2012-05-02 18:25:07 EDT (Wed, 02 May 2012)
@@ -66,7 +66,7 @@
   std::vector<std::pair<half_edge, segment_id> > half_edges_out;
   segment_id id = 0;
   half_edges.reserve(data.size());
- for (typename std::vector<SEGMENT_POLYGON>::iterator it = data.begin(); it != data.end(); ++it) {
+ for (std::vector<SEGMENT_POLYGON>::iterator it = data.begin(); it != data.end(); ++it) {
     POINT_POLYGON l = it->low();
     POINT_POLYGON h = it->high();
     half_edges.push_back(std::make_pair(half_edge(l, h), id++));


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