Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
rocs4
gcc6-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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 {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor