Looks like g++ < 7.1 has a bug resolving calls to member functions without
this-> in lamdas with auto types. It looks like multiple build bots are
using g++-5.
https://stackoverflow.com/questions/32097759/calling-this-member-function-from-generic-lambda-clang-vs-gcc
https://godbolt.org/z/MiaRt-
I think [&](unsigned Reg) { return addRequired(Reg); } works as well...
There might be a this capturing bug in older GCC.
I seem to recall older MSVC has similar bugs.