From bc49236ccc30a55a801a812a3f597f4bded22149 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 13 Sep 2006 20:41:28 +0000 Subject: [PATCH] Work around MSVC 6, 7 bug [SVN r35099] --- include/boost/graph/adjacency_matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/graph/adjacency_matrix.hpp b/include/boost/graph/adjacency_matrix.hpp index 837c74dc..5be3829f 100644 --- a/include/boost/graph/adjacency_matrix.hpp +++ b/include/boost/graph/adjacency_matrix.hpp @@ -474,11 +474,13 @@ namespace boost { typedef adjacency_matrix_traits Traits; public: +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 // The bidirectionalS tag is not allowed with the adjacency_matrix // graph type. Instead, use directedS, which also provides the // functionality required for a Bidirectional Graph (in_edges, // in_degree, etc.). BOOST_STATIC_ASSERT(!(is_same::value)); +#endif #ifndef BOOST_GRAPH_NO_BUNDLED_PROPERTIES typedef typename detail::retag_property_list::type