diff --git a/src/llvm-multiversioning.cpp b/src/llvm-multiversioning.cpp index a1de0f0111cb9..1121a05eb3d23 100644 --- a/src/llvm-multiversioning.cpp +++ b/src/llvm-multiversioning.cpp @@ -542,7 +542,7 @@ void CloneCtx::check_partial(Group &grp, Target &tgt) grp.clone_fs.insert(i); all_origs.insert(orig_f); } - std::set sets[2]{all_origs, {}}; + std::set sets[2]{all_origs, std::set{}}; auto *cur_set = &sets[0]; auto *next_set = &sets[1]; // Reduce dispatch by expand the cloning set to functions that are directly called by