File gcc6-fix.patch of Package rocs4
diff --git a/RocsCore/DataStructures/Graph/GraphStructure.cpp b/RocsCore/DataStructures/Graph/GraphStructure.cpp
index 01630f5..8b2055b 100644
--- a/RocsCore/DataStructures/Graph/GraphStructure.cpp
+++ b/RocsCore/DataStructures/Graph/GraphStructure.cpp
@@ -323,7 +323,7 @@ QMap<DataPtr,PointerList> Rocs::GraphStructure::dijkstraShortestPaths(DataPtr fr
counter = 0;
foreach(PointerPtr p, pointerListAll) {
edges[counter] = Edge(node_mapping[p->from()->identifier()], node_mapping[p->to()->identifier()]);
- edge_mapping[std::make_pair < int, int > (node_mapping[p->from()->identifier()], node_mapping[p->to()->identifier()])] = p;
+ edge_mapping[std::make_pair(node_mapping[p->from()->identifier()], node_mapping[p->to()->identifier()])] = p;
if (!p->property("value").toString().isEmpty()) {
weights[counter] = p->property("value").toDouble();
} else {
@@ -333,7 +333,7 @@ QMap<DataPtr,PointerList> Rocs::GraphStructure::dijkstraShortestPaths(DataPtr fr
// if graph is directed, also add back-edges
if (p->direction() == PointerType::Bidirectional) {
edges[counter] = Edge(node_mapping[p->to()->identifier()], node_mapping[p->from()->identifier()]);
- edge_mapping[std::make_pair< int, int >(node_mapping[p->to()->identifier()], node_mapping[p->from()->identifier()])] = p;
+ edge_mapping[std::make_pair(node_mapping[p->to()->identifier()], node_mapping[p->from()->identifier()])] = p;
if (!p->property("value").toString().isEmpty()) {
weights[counter] = p->property("value").toDouble();
} else {