summaryrefslogtreecommitdiff
path: root/Source/Core/Common/UPnP.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-04-12 14:15:56 -0400
committerLioncash <mai.iam2048@gmail.com>2023-04-12 14:15:58 -0400
commitf5bdfdde1abe44121a6b2c7d895e63edb5b8f726 (patch)
tree27da523be9c00b11572a8a6e9f6066deaabf1268 /Source/Core/Common/UPnP.cpp
parentc5bbe0af0282d3db76580ba499c2d1ec010bafdb (diff)
Common/UPnP: Move interface into Common namespace
Keeps these utilities consistent with the rest of most of the Common library.
Diffstat (limited to 'Source/Core/Common/UPnP.cpp')
-rw-r--r--Source/Core/Common/UPnP.cpp4
1 files changed, 2 insertions, 2 deletions
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();