mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-23 15:30:36 +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