Fix for Windows 'min/max' bug

This commit is contained in:
Andreas Fabri 2012-01-18 10:59:39 +00:00
parent 5e3416b4e8
commit f1ab3edb2d
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ public:
void init_dfs()
{
cur_mark++;
if (cur_mark == std::numeric_limits<size_type>::max()) init_vertex_marks();
if (cur_mark == (std::numeric_limits<size_type>::max)()) init_vertex_marks();
}
void mark_vertex(Vertex_handle vh)