return object in envelope()
This commit is contained in:
parent
2012783592
commit
2d08614042
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -160,7 +160,7 @@ namespace mapnik
|
|||
return ds_;
|
||||
}
|
||||
|
||||
const Envelope<double>& Layer::envelope() const
|
||||
Envelope<double> Layer::envelope() const
|
||||
{
|
||||
if (ds_)
|
||||
return ds_->envelope();
|
||||
|
|
Loading…
Reference in a new issue