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 d43046b5a8
commit 4bcfcc14bd
1 changed files with 1 additions and 1 deletions

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;
}