mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
enum MarkType { U, ... }; is a global vcg:: enum.
so it is U not MarkType::U. [and i don't like it]
This commit is contained in:
parent
fa5452dc85
commit
fdaca89b7f
@ -79,10 +79,10 @@ namespace vcg {
|
||||
}
|
||||
|
||||
void rebuild(){
|
||||
vector<CuttingTriplet<VERTEX_TYPE> >::iterator iter;
|
||||
typename vector<CuttingTriplet<VERTEX_TYPE> >::iterator iter;
|
||||
int num_to_remove = 0;
|
||||
for (iter = _container.begin(); iter != _container.end(); ++iter) {
|
||||
if ((*iter).v->IMark() != MarkType::U) {
|
||||
if ((*iter).v->IMark() != U) {
|
||||
++num_to_remove;
|
||||
pop_heap(iter,_container.end(),cmp);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user