Add this-> when calling a function inherited from a temmplate parameter

This commit is contained in:
Andreas Fabri 2019-04-30 17:53:32 +02:00
parent e0c2222c1f
commit abdad1585b
1 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ public:
os << static_cast<const Tr&>(*this);
Unique_hash_map<Vertex_handle,int> V;
int inum = 0;
for(Vertex_iterator vit= vertices_begin(); vit != vertices_end() ; ++vit){
for(Vertex_iterator vit= this->vertices_begin(); vit != this->vertices_end() ; ++vit){
if(! is_infinite(vit)){
V[vit] = inum++;
}
@ -633,7 +633,7 @@ public:
std::vector<Vertex_handle> V;
V.reserve(this->number_of_vertices());
for(Vertex_iterator vit= vertices_begin(); vit != vertices_end() ; ++vit){
for(Vertex_iterator vit= this->vertices_begin(); vit != this->vertices_end() ; ++vit){
if(! is_infinite(vit)){
V.push_back(vit);
}