On 2011-08-27, at 04:20 , pkx166h@gmail.com wrote: > passes make and reg tests > > ...
13 years, 8 months ago
(2011-08-28 01:31:50 UTC)
#3
On 2011-08-27, at 04:20 , pkx166h@gmail.com wrote:
> passes make and reg tests
>
> http://codereview.appspot.com/4923048/
You could clean up Skyline::distance by pulling lines 532-548 into their own
function and letting Skyline::distance call it with different options:
if (horizon_padding != 0.0)
{
Skyline padded_this(. . .);
Skyline padded_other(. . .);
return unpadded_distance(padded_this, padded_other);
}
else
{
return unpadded_distance(this, &other);
}
--
Dan
Issue 4923048: Fix memleak: temporary skyline objects for systems were never deleted
(Closed)
Created 13 years, 8 months ago by Reinhold
Modified 13 years, 8 months ago
Reviewers: pkx166h, dan_faithful.be
Base URL:
Comments: 0