|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77415 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-03-19 16:48:43
Author: jewillco
Date: 2012-03-19 16:48:42 EDT (Mon, 19 Mar 2012)
New Revision: 77415
URL: http://svn.boost.org/trac/boost/changeset/77415
Log:
Added "inline" to avoid multiple definition errors; fixes #6708
Text files modified:
trunk/boost/graph/is_straight_line_drawing.hpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Modified: trunk/boost/graph/is_straight_line_drawing.hpp
==============================================================================
--- trunk/boost/graph/is_straight_line_drawing.hpp (original)
+++ trunk/boost/graph/is_straight_line_drawing.hpp 2012-03-19 16:48:42 EDT (Mon, 19 Mar 2012)
@@ -35,12 +35,12 @@
// defines how far away from the endpoints of s1 and s2 we want to consider
// an intersection.
- bool intersects(double x1, double y1,
- double x2, double y2,
- double a1, double b1,
- double a2, double b2,
- double epsilon = 0.000001
- )
+ inline bool intersects(double x1, double y1,
+ double x2, double y2,
+ double a1, double b1,
+ double a2, double b2,
+ double epsilon = 0.000001
+ )
{
if (x1 - x2 == 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