| 65 | return old_value; |
| 66 | } |
| 67 | static PersistentContainerValue Get(Impl* impl, K key) { |
| 68 | Iterator it = impl->find(key); |
| 69 | if (it == impl->end()) return kPersistentContainerNotFound; |
| 70 | return it->second; |
| 71 | } |
| 72 | static PersistentContainerValue Remove(Impl* impl, K key) { |
| 73 | Iterator it = impl->find(key); |
| 74 | if (it == impl->end()) return kPersistentContainerNotFound; |