avoid taking const& to a copy (which is what is returned from geom.envelope() currently)

This commit is contained in:
Dane Springmeyer 2013-01-21 11:14:32 -08:00
parent 8a677f9c14
commit 9f28010f53

View file

@ -235,7 +235,7 @@ public:
geometry_type const& geom = get_geometry(i);
if (i==0)
{
box2d<double> const& box = geom.envelope();
box2d<double> box = geom.envelope();
result.init(box.minx(),box.miny(),box.maxx(),box.maxy());
}
else