From b3cee1dfcc062f936feba3d09a0df723a21bd061 Mon Sep 17 00:00:00 2001 From: sp2xdev <127630192+sp2xdev@users.noreply.github.com> Date: Sun, 4 May 2025 15:53:46 -0700 Subject: [PATCH] fix build --- src/spice2x/acio2emu/handle.cpp | 2 +- src/spice2x/acio2emu/handle.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spice2x/acio2emu/handle.cpp b/src/spice2x/acio2emu/handle.cpp index 2e6a86e..155ac73 100644 --- a/src/spice2x/acio2emu/handle.cpp +++ b/src/spice2x/acio2emu/handle.cpp @@ -31,7 +31,7 @@ namespace acio2emu { } }; - IOBHandle::IOBHandle(std::wstring device) : device_(device) { + IOBHandle::IOBHandle(LPCWSTR device) : device_(device) { nodes_[0] = std::make_unique(this); } diff --git a/src/spice2x/acio2emu/handle.h b/src/spice2x/acio2emu/handle.h index 5939d54..d24bb22 100644 --- a/src/spice2x/acio2emu/handle.h +++ b/src/spice2x/acio2emu/handle.h @@ -26,7 +26,7 @@ namespace acio2emu { void forward_packet_(const Packet &packet); public: - IOBHandle(std::wstring device); + IOBHandle(LPCWSTR device); bool register_node(std::unique_ptr node); int number_of_nodes() const;