diff --git a/src/dawn/node/interop/Core.h b/src/dawn/node/interop/Core.h index a193f34458..4f90b1913a 100644 --- a/src/dawn/node/interop/Core.h +++ b/src/dawn/node/interop/Core.h @@ -41,8 +41,10 @@ // A helper macro for constructing a PromiseInfo with the current file, function and line. // See PromiseInfo -#define PROMISE_INFO \ - ::wgpu::interop::PromiseInfo { __FILE__, __FUNCTION__, __LINE__ } +#define PROMISE_INFO \ + ::wgpu::interop::PromiseInfo { \ + __FILE__, __FUNCTION__, __LINE__ \ + } namespace wgpu::interop { diff --git a/src/dawn/wire/WireResult.h b/src/dawn/wire/WireResult.h index 41f8a56e52..ddd5e6300d 100644 --- a/src/dawn/wire/WireResult.h +++ b/src/dawn/wire/WireResult.h @@ -19,7 +19,7 @@ namespace dawn::wire { -enum class [[nodiscard]] WireResult{ +enum class [[nodiscard]] WireResult { Success, FatalError, };