Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63635 - sandbox/geometry/libs/geometry/test/strategies
From: barend.gehrels_at_[hidden]
Date: 2010-07-04 17:34:07


Author: barendgehrels
Date: 2010-07-04 17:34:04 EDT (Sun, 04 Jul 2010)
New Revision: 63635
URL: http://svn.boost.org/trac/boost/changeset/63635

Log:
added typename
Text files modified:
   sandbox/geometry/libs/geometry/test/strategies/haversine.cpp | 2 +-
   sandbox/geometry/libs/geometry/test/strategies/pythagoras.cpp | 2 +-
   sandbox/geometry/libs/geometry/test/strategies/transformer.cpp | 4 ++--
   3 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/geometry/libs/geometry/test/strategies/haversine.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/test/strategies/haversine.cpp (original)
+++ sandbox/geometry/libs/geometry/test/strategies/haversine.cpp 2010-07-04 17:34:04 EDT (Sun, 04 Jul 2010)
@@ -93,7 +93,7 @@
     {
 
         // Compile-check if there is a strategy for this type
- typedef services::default_strategy<bg::point_tag, P1, P2>::type haversine_strategy_type;
+ typedef typename services::default_strategy<bg::point_tag, P1, P2>::type haversine_strategy_type;
     }
 
     P1 p1;

Modified: sandbox/geometry/libs/geometry/test/strategies/pythagoras.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/test/strategies/pythagoras.cpp (original)
+++ sandbox/geometry/libs/geometry/test/strategies/pythagoras.cpp 2010-07-04 17:34:04 EDT (Sun, 04 Jul 2010)
@@ -115,7 +115,7 @@
     {
 
         // Compile-check if there is a strategy for this type
- typedef services::default_strategy<bg::point_tag, P1, P2>::type pythagoras_strategy_type;
+ typedef typename services::default_strategy<bg::point_tag, P1, P2>::type pythagoras_strategy_type;
     }
 
 

Modified: sandbox/geometry/libs/geometry/test/strategies/transformer.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/test/strategies/transformer.cpp (original)
+++ sandbox/geometry/libs/geometry/test/strategies/transformer.cpp 2010-07-04 17:34:04 EDT (Sun, 04 Jul 2010)
@@ -93,8 +93,8 @@
 int test_main(int, char* [])
 {
     //test_all<int[2]>();
- test_all<float[2]>();
- test_all<double[2]>();
+ //test_all<float[2]>();
+ //test_all<double[2]>();
 
     test_all<boost::tuple<float, float> >();
 


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