From bb39544dcd67fdc6cddf50d2034ab5c81bde7a69 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 27 Jul 2015 14:35:56 +0200 Subject: [PATCH] fix compilation for VC++ --- .../Polyhedron_demo_polyhedron_stitching_plugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp index 7e5ae3f0f57..d51f9b487f4 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp @@ -26,6 +26,11 @@ struct Is_border { bool operator()(const Descriptor& d) const { return is_border(d,g); } + + bool operator()(typename boost::graph_traits::vertex_descriptor d) const { + return is_border(d,g) == boost::none; + } + };