Skip to content

Commit

Permalink
cxx initialization: make constructor explicit (#24622)
Browse files Browse the repository at this point in the history
clang in macOS 10.9 incorrectly marks this as required
  • Loading branch information
vtjnash authored Nov 16, 2017
1 parent 8c3f8b1 commit 7d7a456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm-multiversioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ void CloneCtx::check_partial(Group &grp, Target &tgt)
grp.clone_fs.insert(i);
all_origs.insert(orig_f);
}
std::set<Function*> sets[2]{all_origs, {}};
std::set<Function*> sets[2]{all_origs, std::set<Function*>{}};
auto *cur_set = &sets[0];
auto *next_set = &sets[1];
// Reduce dispatch by expand the cloning set to functions that are directly called by
Expand Down

0 comments on commit 7d7a456

Please sign in to comment.