Fix compiler error on macOS with XCode12 (#3836)

This commit is contained in:
Richard S. Wright Jr 2020-09-22 19:12:23 -04:00 committed by GitHub
parent 5a5b750aaf
commit 7cc4b4d2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ class CFA {
template <class BB> template <class BB>
bool CFA<BB>::FindInWorkList(const std::vector<block_info>& work_list, bool CFA<BB>::FindInWorkList(const std::vector<block_info>& work_list,
uint32_t id) { uint32_t id) {
for (const auto& b : work_list) { for (auto& b : work_list) {
if (b.block->id() == id) return true; if (b.block->id() == id) return true;
} }
return false; return false;