Removed unnecessary checks when adding priority edges.

This commit is contained in:
WrinklyNinja
2013-09-25 09:28:05 +01:00
parent c3ab3e3485
commit 3b62a6a4ed
+1 -1
View File
@@ -205,7 +205,7 @@ namespace boss {
++vit2;
for (vit2,vitend; vit2 != vitend; ++vit2) {
BOOST_LOG_TRIVIAL(trace) << "Checking for priority difference between \"" << graph[*vit].Name() << "\" and \"" << graph[*vit2].Name() << "\".";
if (graph[*vit].MustLoadAfter(graph[*vit2]) || graph[*vit2].MustLoadAfter(graph[*vit]) || graph[*vit].Priority() == graph[*vit2].Priority())
if (graph[*vit].Priority() == graph[*vit2].Priority())
continue;
vertex_t vertex, parentVertex;