Commit 6b5d560c authored by Sylvain Thery's avatar Sylvain Thery
Browse files

solve compilation pb on Windows

parent a505d87d
...@@ -50,10 +50,10 @@ struct PFP: public PFP_STANDARD ...@@ -50,10 +50,10 @@ struct PFP: public PFP_STANDARD
typedef EmbeddedMap2 MAP; typedef EmbeddedMap2 MAP;
}; };
typedef typename PFP::MAP MAP; typedef PFP::MAP MAP;
typedef typename PFP::MAP::IMPL MAP_IMPL; typedef PFP::MAP::IMPL MAP_IMPL;
typedef typename PFP::VEC3 VEC3; typedef PFP::VEC3 VEC3;
typedef typename PFP::VEC4 VEC4; typedef PFP::VEC4 VEC4;
/** /**
* Simple example of function that work with generic type of attribute * Simple example of function that work with generic type of attribute
......
...@@ -79,7 +79,7 @@ Dart TraversorCell<MAP, ORBIT>::begin() ...@@ -79,7 +79,7 @@ Dart TraversorCell<MAP, ORBIT>::begin()
} }
current = m.begin() ; current = m.begin() ;
while(current != m.end() && (m.template isBoundaryMarked(dimension, current) )) while(current != m.end() && (m.isBoundaryMarked(dimension, current) ))
m.next(current) ; m.next(current) ;
if(current == m.end()) if(current == m.end())
...@@ -122,7 +122,7 @@ Dart TraversorCell<MAP, ORBIT>::next() ...@@ -122,7 +122,7 @@ Dart TraversorCell<MAP, ORBIT>::next()
if(dmark) if(dmark)
{ {
bool ismarked = dmark->isMarked(current) ; bool ismarked = dmark->isMarked(current) ;
while(current != NIL && (ismarked || m.template isBoundaryMarked(dimension, current))) while(current != NIL && (ismarked || m.isBoundaryMarked(dimension, current)))
{ {
m.next(current) ; m.next(current) ;
if(current == m.end()) if(current == m.end())
...@@ -136,7 +136,7 @@ Dart TraversorCell<MAP, ORBIT>::next() ...@@ -136,7 +136,7 @@ Dart TraversorCell<MAP, ORBIT>::next()
else else
{ {
bool ismarked = cmark->isMarked(current) ; bool ismarked = cmark->isMarked(current) ;
while(current != NIL && (ismarked || m.template isBoundaryMarked(dimension, current) )) while(current != NIL && (ismarked || m.isBoundaryMarked(dimension, current) ))
{ {
m.next(current) ; m.next(current) ;
if(current == m.end()) if(current == m.end())
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <string.h> #include <string.h>
#include <algorithm>
namespace CGoGN namespace CGoGN
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment