[build] Fix clang-tidy warnings (#8343)

This commit is contained in:
Tyler Veness
2025-11-08 14:07:00 -08:00
committed by GitHub
parent 161f8d107b
commit aeedfa588c
2 changed files with 2 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ class StringMap : public std::map<std::string, T, std::less<>, Allocator> {
* with
* @param alloc allocator to use for all memory allocations of this container
*/
// NOLINTNEXTLINE (google-explicit-constructor)
StringMap(std::initializer_list<value_type> init,
const Allocator& alloc = Allocator())
: map_type{init, alloc} {}