From 76d0e38bd706dbba287a25ba3fcde11e1f6fd516 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Fri, 19 Feb 2021 05:43:57 +0000 Subject: [PATCH] Fix the Windows build Bug: none Tbr: cwallez@chromium.org Change-Id: I56e1e5da072e960102db891fe3f11a86f1ffe972 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42005 Reviewed-by: Austin Eng Commit-Queue: Austin Eng --- src/dawn_wire/Wire.cpp | 2 ++ src/include/dawn_wire/Wire.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/dawn_wire/Wire.cpp b/src/dawn_wire/Wire.cpp index 89e5ac192b..7221d6b054 100644 --- a/src/dawn_wire/Wire.cpp +++ b/src/dawn_wire/Wire.cpp @@ -16,11 +16,13 @@ namespace dawn_wire { + CommandSerializer::CommandSerializer() = default; CommandSerializer::~CommandSerializer() = default; void CommandSerializer::OnSerializeError() { } + CommandHandler::CommandHandler() = default; CommandHandler::~CommandHandler() = default; } // namespace dawn_wire diff --git a/src/include/dawn_wire/Wire.h b/src/include/dawn_wire/Wire.h index 2a946e992b..4d69c95e42 100644 --- a/src/include/dawn_wire/Wire.h +++ b/src/include/dawn_wire/Wire.h @@ -25,7 +25,9 @@ namespace dawn_wire { class DAWN_WIRE_EXPORT CommandSerializer { public: + CommandSerializer(); virtual ~CommandSerializer(); + CommandSerializer(const CommandSerializer& rhs) = delete; CommandSerializer& operator=(const CommandSerializer& rhs) = delete; // Get space for serializing commands. @@ -40,7 +42,9 @@ namespace dawn_wire { class DAWN_WIRE_EXPORT CommandHandler { public: + CommandHandler(); virtual ~CommandHandler(); + CommandHandler(const CommandHandler& rhs) = delete; CommandHandler& operator=(const CommandHandler& rhs) = delete; virtual const volatile char* HandleCommands(const volatile char* commands, size_t size) = 0;