diff --git a/src/box2d.cpp b/src/box2d.cpp index b19892ece..b4a069095 100644 --- a/src/box2d.cpp +++ b/src/box2d.cpp @@ -51,9 +51,15 @@ box2d::box2d(const coord &c0,const coord &c1) template box2d::box2d(const box2d &rhs) -{ + : minx_(rhs.minx_), + miny_(rhs.miny_), + maxx_(rhs.maxx_), + maxy_(rhs.maxy_) {} +// copy rather than init so dfl ctor (0,0,-1,-1) is not modified +// http://trac.mapnik.org/ticket/749 +/*{ init(rhs.minx_,rhs.miny_,rhs.maxx_,rhs.maxy_); -} +}*/ template #if !defined(__SUNPRO_CC)