Code

Fix compilation issue with g++3.3 on OS X 10.3.9
authorbryce <bryce@users.sourceforge.net>
Mon, 31 Dec 2007 08:22:26 +0000 (08:22 +0000)
committerbryce <bryce@users.sourceforge.net>
Mon, 31 Dec 2007 08:22:26 +0000 (08:22 +0000)
(Patch from LP: #178123)

src/2geom/svg-path.h

index ebc23a9b5383a0067dc77f17c144a7ca9da9f104..7dd2f31ac5ec76a8b368d52164e539a233b7ea35 100644 (file)
@@ -64,21 +64,21 @@ public:
     }
 //TODO: what if _in_path = false?
     void lineTo(Point p) {
-        _path.appendNew<LineSegment>(p);
+        _path.template appendNew<LineSegment>(p);
     }
 
     void quadTo(Point c, Point p) {
-        _path.appendNew<QuadraticBezier>(c, p);
+        _path.template appendNew<QuadraticBezier>(c, p);
     }
 
     void curveTo(Point c0, Point c1, Point p) {
-        _path.appendNew<CubicBezier>(c0, c1, p);
+        _path.template appendNew<CubicBezier>(c0, c1, p);
     }
 
     void arcTo(double rx, double ry, double angle,
                bool large_arc, bool sweep, Point p)
     {
-        _path.appendNew<SVGEllipticalArc>(rx, ry, angle,
+        _path.template appendNew<SVGEllipticalArc>(rx, ry, angle,
                                                  large_arc, sweep, p);
     }