forked from OSchip/llvm-project
Fix build error that std::atomic is not copy-constructible.
llvm-svn: 248061
This commit is contained in:
parent
f77f8ae450
commit
49e72e69e5
|
@ -218,7 +218,7 @@ void ICF::run(const std::vector<Chunk *> &Vec) {
|
|||
});
|
||||
|
||||
for (;;) {
|
||||
std::atomic<bool> Redo = false;
|
||||
std::atomic<bool> Redo(false);
|
||||
parallel_for_each(VChunks.begin(), VChunks.end(),
|
||||
[&](std::vector<SectionChunk *> &Chunks) {
|
||||
if (forEachGroup(Chunks, equalsVariable))
|
||||
|
|
Loading…
Reference in New Issue