| 269 | } |
| 270 | |
| 271 | const KmapCache* GetKmapCache(const std::string& key) const { |
| 272 | if (kmaps_ == nullptr) { |
| 273 | return nullptr; |
| 274 | } |
| 275 | const auto& iter = kmaps_->find(key); |
| 276 | if (iter == kmaps_->end()) { |
| 277 | return nullptr; |
| 278 | } |
| 279 | return &iter->second; |
| 280 | } |
| 281 | |
| 282 | void ClearKmaps() { |
| 283 | if (kmaps_ != nullptr) { |