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 <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Austin Eng 2021-02-19 05:43:57 +00:00 committed by Commit Bot service account
parent e9e9ee64f6
commit 76d0e38bd7
2 changed files with 6 additions and 0 deletions

View File

@ -16,11 +16,13 @@
namespace dawn_wire { namespace dawn_wire {
CommandSerializer::CommandSerializer() = default;
CommandSerializer::~CommandSerializer() = default; CommandSerializer::~CommandSerializer() = default;
void CommandSerializer::OnSerializeError() { void CommandSerializer::OnSerializeError() {
} }
CommandHandler::CommandHandler() = default;
CommandHandler::~CommandHandler() = default; CommandHandler::~CommandHandler() = default;
} // namespace dawn_wire } // namespace dawn_wire

View File

@ -25,7 +25,9 @@ namespace dawn_wire {
class DAWN_WIRE_EXPORT CommandSerializer { class DAWN_WIRE_EXPORT CommandSerializer {
public: public:
CommandSerializer();
virtual ~CommandSerializer(); virtual ~CommandSerializer();
CommandSerializer(const CommandSerializer& rhs) = delete;
CommandSerializer& operator=(const CommandSerializer& rhs) = delete; CommandSerializer& operator=(const CommandSerializer& rhs) = delete;
// Get space for serializing commands. // Get space for serializing commands.
@ -40,7 +42,9 @@ namespace dawn_wire {
class DAWN_WIRE_EXPORT CommandHandler { class DAWN_WIRE_EXPORT CommandHandler {
public: public:
CommandHandler();
virtual ~CommandHandler(); virtual ~CommandHandler();
CommandHandler(const CommandHandler& rhs) = delete;
CommandHandler& operator=(const CommandHandler& rhs) = delete; CommandHandler& operator=(const CommandHandler& rhs) = delete;
virtual const volatile char* HandleCommands(const volatile char* commands, size_t size) = 0; virtual const volatile char* HandleCommands(const volatile char* commands, size_t size) = 0;