From b48d1f4b3de38211d352b5ce0d7dcd2aecdce6e7 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 22 Apr 2021 16:21:52 +0000 Subject: [PATCH] Add header for std::forward Previously this was being indirectly supplied by , which has been removed. Clang happily still finds std::forward, but GCC does not. BUG=dawn:768 Change-Id: I87e6bb6aa83bc7f3253c58e32fa0ba977752858c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48820 Commit-Queue: Ryan Harrison Commit-Queue: Corentin Wallez Auto-Submit: Ryan Harrison Reviewed-by: Corentin Wallez --- src/common/SlabAllocator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/SlabAllocator.h b/src/common/SlabAllocator.h index 7d7a690c33..8a78dde626 100644 --- a/src/common/SlabAllocator.h +++ b/src/common/SlabAllocator.h @@ -19,6 +19,7 @@ #include #include +#include // The SlabAllocator allocates objects out of one or more fixed-size contiguous "slabs" of memory. // This makes it very quick to allocate and deallocate fixed-size objects because the allocator only