From d3c4222002555badbb805953873cb42937ce84f5 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 21 Oct 2020 15:53:58 +0000 Subject: [PATCH] Update type for atomic. The atomic_uint64_t typedef does not appear to be defined on Ubuntu and you need to use atomic Bug: None Change-Id: I66f92ae6939723a5ca6f7b80dbb1ad8ab633ce4c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30726 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/common/RefCounted.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/RefCounted.h b/src/common/RefCounted.h index 90144a6043..b8e2ce8f82 100644 --- a/src/common/RefCounted.h +++ b/src/common/RefCounted.h @@ -35,7 +35,7 @@ class RefCounted { virtual void DeleteThis(); private: - std::atomic_uint64_t mRefCount; + std::atomic mRefCount; }; template