From 98e078134d3c9d9c539486c7e836aed55b73f26a Mon Sep 17 00:00:00 2001 From: Jiawei Shao Date: Wed, 4 Nov 2020 09:44:37 +0000 Subject: [PATCH] Remove DAWN_NATIVE_EXPORT declaration from dawn_platform::Platform This patch fixes a LNK4217 error when building Dawn perf tests with the latest VS2019 by removing DAWN_NATIVE_EXPORT declaration from dawn_platform::Platform(). BUG=dawn:396 Change-Id: I232ac741f6356981c917fa4f1ed8ddf3bce280ae Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31800 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/include/dawn_platform/DawnPlatform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/dawn_platform/DawnPlatform.h b/src/include/dawn_platform/DawnPlatform.h index 1c8dabac1e..cd322fc814 100644 --- a/src/include/dawn_platform/DawnPlatform.h +++ b/src/include/dawn_platform/DawnPlatform.h @@ -28,7 +28,7 @@ namespace dawn_platform { GPUWork, // Actual GPU work }; - class DAWN_NATIVE_EXPORT Platform { + class Platform { public: Platform(); virtual ~Platform();