avoid taking const& to a copy (which is what is returned from geom.envelope() currently)
This commit is contained in:
parent
8a677f9c14
commit
9f28010f53
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue