diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-02 21:53:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 21:53:28 +0100 |
commit | b01698775b468a04e4d0a9bdd86035ff00e6decb (patch) | |
tree | 88f1784fe7833392caeaf713a7a616772f446b18 /src/core/internal_network/socket_proxy.h | |
parent | Merge pull request #9708 from ameerj/gl-context-flush (diff) | |
download | yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.gz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.bz2 yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.lz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.xz yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.tar.zst yuzu-b01698775b468a04e4d0a9bdd86035ff00e6decb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/internal_network/socket_proxy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/internal_network/socket_proxy.h b/src/core/internal_network/socket_proxy.h index 9421492bc..f12b5f567 100644 --- a/src/core/internal_network/socket_proxy.h +++ b/src/core/internal_network/socket_proxy.h @@ -4,7 +4,6 @@ #pragma once #include <mutex> -#include <span> #include <vector> #include <queue> @@ -49,11 +48,11 @@ public: std::pair<s32, Errno> ReceivePacket(int flags, std::vector<u8>& message, SockAddrIn* addr, std::size_t max_length); - std::pair<s32, Errno> Send(std::span<const u8> message, int flags) override; + std::pair<s32, Errno> Send(const std::vector<u8>& message, int flags) override; void SendPacket(ProxyPacket& packet); - std::pair<s32, Errno> SendTo(u32 flags, std::span<const u8> message, + std::pair<s32, Errno> SendTo(u32 flags, const std::vector<u8>& message, const SockAddrIn* addr) override; Errno SetLinger(bool enable, u32 linger) override; |