mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
MSVC gets confused by one line of the graph tests
This commit is contained in:
parent
988ee0eb55
commit
981e9896b4
@ -1779,6 +1779,9 @@ TEST(ue2_graph, default_param) {
|
||||
auto e = add_edge(v, v, g).first;
|
||||
|
||||
ASSERT_EQ(0U, get(vertex_index, g, v));
|
||||
ASSERT_EQ(0U, get(&ue2::graph_detail::default_edge_property::index, g, e));
|
||||
ASSERT_EQ(0U, get(edge_index, g, e));
|
||||
#if !defined(_MSC_VER)
|
||||
/* This makes MSVC up to VS2015 sad in ways that shouldn't happen. */
|
||||
ASSERT_EQ(0U, get(&ue2::graph_detail::default_edge_property::index, g, e));
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user