Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67919 - trunk/libs/geometry/test/point_concept
From: barend.gehrels_at_[hidden]
Date: 2011-01-10 13:45:27


Author: barendgehrels
Date: 2011-01-10 13:45:25 EST (Mon, 10 Jan 2011)
New Revision: 67919
URL: http://svn.boost.org/trac/boost/changeset/67919

Log:
Updated well_formed_point.cpp test to fix clang/gcc4.6
Text files modified:
   trunk/libs/geometry/test/point_concept/well_formed_point.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/geometry/test/point_concept/well_formed_point.cpp
==============================================================================
--- trunk/libs/geometry/test/point_concept/well_formed_point.cpp (original)
+++ trunk/libs/geometry/test/point_concept/well_formed_point.cpp 2011-01-10 13:45:25 EST (Mon, 10 Jan 2011)
@@ -22,7 +22,7 @@
 int main()
 {
     point p1;
- const point p2;
+ point const p2 = point();
     test::function_requiring_a_point(p1, p2);
     return 0;
 }


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