llvm.org GIT mirror llvm / 9f38d0d
Fix builds that use an stl missing std::set::emplace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206821 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
244244
245245
246246 const State &DFA::newState() {
247 auto IterPair = states.emplace();
247 auto IterPair = states.insert(State());
248248 assert(IterPair.second && "State already exists");
249249 return *IterPair.first;
250250 }