Skip to content
Snippets Groups Projects
Commit 67dd0a98 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

data_experimental: silence gcc12 about implicit int -> unsigned

parent c9e2793a
No related branches found
No related tags found
Loading
Pipeline #186134 canceled
......@@ -47,7 +47,8 @@ public:
 
void insertVertex(unsigned vertexNumber, const ext::map<ext::pair< int,int>,int> & edges) {
for(const auto & edge : edges ) {
m_delta[vertexNumber].insert({{edge.first.first - 1, edge.first.second - 1}, edge.second}); // to match indexing the string from 0
// FIXME the construction algo works on integers but the datastructure is defined with unsigneds
m_delta[vertexNumber].insert({{edge.first.first - 1, edge.first.second - 1}, static_cast < unsigned > ( edge.second ) }); // to match indexing the string from 0
}
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment