| 103 | } |
| 104 | |
| 105 | bool CreateEntry(const std::string& s, std::unique_ptr<Entry> entry) { |
| 106 | DCHECK(!s.empty()); |
| 107 | auto p = entries.emplace(s, std::move(entry)); |
| 108 | return p.second; |
| 109 | } |
| 110 | |
| 111 | void AssignEntry(const std::string& s, std::unique_ptr<Entry> entry); |
| 112 |