This function is not thread safe should be called only from within a syncrhronized read region of registeredFunctions_.
| 62 | // This function is not thread safe should be called only from within a |
| 63 | // syncrhronized read region of registeredFunctions_. |
| 64 | const SignatureMap* getSignatureMap( |
| 65 | const std::string& name, |
| 66 | const FunctionMap& registeredFunctions) { |
| 67 | const auto sanitizedName = sanitizeName(name); |
| 68 | const auto it = registeredFunctions.find(sanitizedName); |
| 69 | return it != registeredFunctions.end() ? &it->second : nullptr; |
| 70 | } |
| 71 | } // namespace |
| 72 | |
| 73 | std::unordered_map< |
no test coverage detected