From 0db69f005265becb069d86eebf16cd85e98e2e47 Mon Sep 17 00:00:00 2001 From: Sergey Karchevsky Date: Mon, 28 Jun 2021 20:20:50 +0000 Subject: [PATCH] Fix compilation error when building with CMake and Clang RefBase::Detatch() method in RefBase.h calls std::move, but no appropriate header was included. Error example was: RefBase.h:137:22: error: no member named 'move' in namespace 'std' Change-Id: I60f84bffba06ba5fd3fea7fb9c4908cfe3989472 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56281 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/common/RefBase.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/RefBase.h b/src/common/RefBase.h index 6ba4f507e8..0127a26801 100644 --- a/src/common/RefBase.h +++ b/src/common/RefBase.h @@ -19,6 +19,7 @@ #include "common/Compiler.h" #include +#include // A common class for various smart-pointers acting on referenceable/releasable pointer-like // objects. Logic for each specialization can be customized using a Traits type that looks