From 3851cdea4fef94e48593ea8f79d83180569e727e Mon Sep 17 00:00:00 2001 From: g_j_m Date: Thu, 14 Apr 2005 00:38:47 +0000 Subject: [PATCH] Apparently it's 'good practise' to not put inline in front of the functions inside the class, but only on the function bodies. git-svn-id: http://svn.osgeo.org/qgis/trunk@3152 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/qgsclipper.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/qgsclipper.h b/src/qgsclipper.h index b2ac8e85a1c..eecd6973869 100644 --- a/src/qgsclipper.h +++ b/src/qgsclipper.h @@ -69,27 +69,27 @@ class QgsClipper // Trims the given line segment to a rectangular box. Returns the // trimmed line segement in tFrom and tTo. - inline static bool trimLine(QgsPoint& from, QgsPoint& to); + static bool trimLine(QgsPoint& from, QgsPoint& to); // Trims the given polygon to a rectangular box. Returns the trimmed // polygon in the given QPointArray. - inline static void trimPolygon(std::vector& polygon); + static void trimPolygon(std::vector& polygon); private: // Trims the given polygon to the given boundary. Returns the // trimmed polygon in the out pointer. - inline static void trimPolygonToBoundary(const std::vector& in, - std::vector& out, - boundary b); + static void trimPolygonToBoundary(const std::vector& in, + std::vector& out, + boundary b); // Determines if a point is inside or outside a boundary - inline static bool inside(const std::vector& pa, int p, boundary b); + static bool inside(const std::vector& pa, int p, boundary b); // Calculates the intersection point between a line defined by a // line segment and a boundary - inline static QgsPoint intersect(const std::vector& pa, - int i1, int i2, boundary b); + static QgsPoint intersect(const std::vector& pa, + int i1, int i2, boundary b); }; // The inline functions