return object in envelope()

This commit is contained in:
Artem Pavlenko 2005-12-01 10:06:40 +00:00
parent 2012783592
commit 2d08614042
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ namespace mapnik
std::vector<ref_ptr<Feature> >& selection() const;
void clear_selection() const;
datasource_p const& datasource() const;
Envelope<double> const& envelope() const;
Envelope<double> envelope() const;
virtual ~Layer();
private:
void swap(const Layer& other);

View file

@ -160,7 +160,7 @@ namespace mapnik
return ds_;
}
const Envelope<double>& Layer::envelope() const
Envelope<double> Layer::envelope() const
{
if (ds_)
return ds_->envelope();