declare segment y_order inline

This commit is contained in:
Dane Springmeyer 2014-08-10 13:02:34 -07:00
parent 378ab71a51
commit 4c10d90145

View file

@ -31,7 +31,7 @@ namespace mapnik
using segment_t = std::tuple<double,double,double,double>;
static bool y_order(segment_t const& first,segment_t const& second)
static inline bool y_order(segment_t const& first,segment_t const& second)
{
double miny0 = std::min(std::get<1>(first), std::get<3>(first));
double miny1 = std::min(std::get<1>(second), std::get<3>(second));