commit | 3ff08caa35db539fcc3dded353ec03c9f6a6efe7 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Oct 14 21:05:42 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 14 21:05:42 2024 +0000 |
tree | 13c86730c80c22d480c3790ebf3adf2383992d9b | |
parent | 498fe977c5dd44eb014c3173d43b8f0da79db1cd [diff] |
StringViewUtils.cpp: Add include for std::strlen. Bug: 42241188 Change-Id: I8950589cb51987d385d179b05655caeabf9462a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210755 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com>
diff --git a/src/dawn/common/StringViewUtils.cpp b/src/dawn/common/StringViewUtils.cpp index 1c0b650..3109c5e 100644 --- a/src/dawn/common/StringViewUtils.cpp +++ b/src/dawn/common/StringViewUtils.cpp
@@ -27,6 +27,8 @@ #include "dawn/common/StringViewUtils.h" +#include <cstring> + bool operator==(WGPUStringView a, WGPUStringView b) { return wgpu::StringView(a) == wgpu::StringView(b); }