@@ -189,8 +189,7 @@ public:
}
bool rval = true;
- size_t index = 0;
- rhs.apply_array([&, this](adapter::Adapter const & elem) {
+ rhs.apply_array([&, this, index = 0UL](adapter::Adapter const & elem) mutable {
// Short-Circuit OK
rval = rval && array[index].equals(elem, strict);
++index;