mirror of https://github.com/qt/qtgrpc.git
Rename the free function to 'toHash', as no merging was happening, this name was misleading. Improve the implementation by adding the missing 'reserve()' and simply try_emplace() the pair into the hash. This will still take the newest value as before but without constructing a temporary key list and having the extra lookup with value(). Pick-to: 6.10 Change-Id: I4834feea43e20614caea3d587055c024012e0596 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> |
||
|---|---|---|
| LICENSES | ||
| cmake | ||
| coin | ||
| examples | ||
| src | ||
| tests | ||
| .clang-format | ||
| .cmake.conf | ||
| .gitattributes | ||
| .gitignore | ||
| .gitreview | ||
| .tag | ||
| CMakeLists.txt | ||
| LICENSE.Apache-2.0.txt | ||
| REUSE.toml | ||
| configure.cmake | ||
| dependencies.yaml | ||
| licenseRule.json | ||
| qt_attribution.json | ||
| qt_cmdline.cmake | ||