mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
These constructor parameters of StructMember take a uint32_t. The compiler will normally warn / error about this, but there's some quirk of std::make_shared that makes the compiler silence this warning (possibly because the constructor call is in the STL?). Was noticed when experimenting with BlockAllocator::Create() to reduce binary size. Change-Id: I8cdf5078150927e5624752ee7374305c0a5982f0 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/66448 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com>