Commit 17c398d9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix build in C++17 mode

I think it's a bug, but now sure if of libstdc++ or the spec, have
opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 for the gcc
people to comment on
parent 24dfe6e7
...@@ -204,7 +204,7 @@ static bool visit( const ObjectCalcer* o, const std::vector<ObjectCalcer*>& from ...@@ -204,7 +204,7 @@ static bool visit( const ObjectCalcer* o, const std::vector<ObjectCalcer*>& from
std::vector<ObjectCalcer*> parents = o->parents(); std::vector<ObjectCalcer*> parents = o->parents();
for ( uint i = 0; i < parents.size(); ++i ) for ( uint i = 0; i < parents.size(); ++i )
{ {
bool v = visit( parents[i], from, ret ); bool v = ::visit( parents[i], from, ret );
somedepend |= v; somedepend |= v;
alldepend &= v; alldepend &= v;
deps[i] = v; deps[i] = v;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment