| 27 | } |
| 28 | |
| 29 | DescriptorPoolRegistry::DescriptorPoolFn* DescriptorPoolRegistry::Get( |
| 30 | const string& source) { |
| 31 | auto found = fns_.find(source); |
| 32 | if (found == fns_.end()) return nullptr; |
| 33 | return &found->second; |
| 34 | } |
| 35 | |
| 36 | void DescriptorPoolRegistry::Register( |
| 37 | const string& source, |