remove unused member variable
This commit is contained in:
parent
d5f98ba07c
commit
919d41aeb6
1 changed files with 1 additions and 4 deletions
|
@ -110,8 +110,7 @@ struct polygon_vertex_adapter
|
||||||
rings_end_(poly_.interior_rings.size() + 1),
|
rings_end_(poly_.interior_rings.size() + 1),
|
||||||
current_index_(0),
|
current_index_(0),
|
||||||
end_index_((rings_itr_ < rings_end_) ? poly_.exterior_ring.size() : 0),
|
end_index_((rings_itr_ < rings_end_) ? poly_.exterior_ring.size() : 0),
|
||||||
start_loop_(true),
|
start_loop_(true) {}
|
||||||
close_loop_(false) {}
|
|
||||||
|
|
||||||
void rewind(unsigned) const
|
void rewind(unsigned) const
|
||||||
{
|
{
|
||||||
|
@ -120,7 +119,6 @@ struct polygon_vertex_adapter
|
||||||
current_index_ = 0;
|
current_index_ = 0;
|
||||||
end_index_ = (rings_itr_ < rings_end_) ? poly_.exterior_ring.size() : 0;
|
end_index_ = (rings_itr_ < rings_end_) ? poly_.exterior_ring.size() : 0;
|
||||||
start_loop_ = true;
|
start_loop_ = true;
|
||||||
close_loop_ = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned vertex(double* x, double* y) const
|
unsigned vertex(double* x, double* y) const
|
||||||
|
@ -172,7 +170,6 @@ private:
|
||||||
mutable std::size_t current_index_;
|
mutable std::size_t current_index_;
|
||||||
mutable std::size_t end_index_;
|
mutable std::size_t end_index_;
|
||||||
mutable bool start_loop_;
|
mutable bool start_loop_;
|
||||||
mutable bool close_loop_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
Loading…
Reference in a new issue