From f5bdfdde1abe44121a6b2c7d895e63edb5b8f726 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 12 Apr 2023 14:15:56 -0400 Subject: Common/UPnP: Move interface into Common namespace Keeps these utilities consistent with the rest of most of the Common library. --- Source/Core/Common/UPnP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/UPnP.cpp') diff --git a/Source/Core/Common/UPnP.cpp b/Source/Core/Common/UPnP.cpp index 9552236e69..be5474706b 100644 --- a/Source/Core/Common/UPnP.cpp +++ b/Source/Core/Common/UPnP.cpp @@ -164,14 +164,14 @@ static void UnmapPortThread() UnmapPort(s_mapped); } -void UPnP::TryPortmapping(u16 port) +void Common::UPnP::TryPortmapping(u16 port) { if (s_thread.joinable()) s_thread.join(); s_thread = std::thread(&MapPortThread, port); } -void UPnP::StopPortmapping() +void Common::UPnP::StopPortmapping() { if (s_thread.joinable()) s_thread.join(); -- cgit v1.2.3