1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix builds that use an stl missing std::set::emplace

llvm-svn: 206821
This commit is contained in:
David Blaikie 2014-04-21 22:46:09 +00:00
parent 924dce994d
commit 3cdf7d5794

View File

@ -245,7 +245,7 @@ bool State::canAddInsnClass(unsigned InsnClass) const {
const State &DFA::newState() {
auto IterPair = states.emplace();
auto IterPair = states.insert(State());
assert(IterPair.second && "State already exists");
return *IterPair.first;
}