mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-26 05:10:05 +00:00
Fix compiler error on macOS with XCode12 (#3836)
This commit is contained in:
parent
5a5b750aaf
commit
7cc4b4d2ca
@ -127,7 +127,7 @@ class CFA {
|
||||
template <class BB>
|
||||
bool CFA<BB>::FindInWorkList(const std::vector<block_info>& work_list,
|
||||
uint32_t id) {
|
||||
for (const auto& b : work_list) {
|
||||
for (auto& b : work_list) {
|
||||
if (b.block->id() == id) return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user