summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-04-11 09:12:01 -0400
committerLioncash <mai.iam2048@gmail.com>2023-04-11 09:12:04 -0400
commit64ce2012e34bbe7ba031f70173531cf350f4282b (patch)
treed463911924c938d8c30b184c78a4952d22e80bf9 /Source/Core/Common
parentaf52b5a2d90bb1a8b2d3f88664cb54a9198b3a88 (diff)
Common/ENetUtil: Move interface into Common namespace
Rather than just being under a separate ENetUtil namespace, we can unify this into the common namespace as Common::ENet.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/ENetUtil.cpp4
-rw-r--r--Source/Core/Common/ENetUtil.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/ENetUtil.cpp b/Source/Core/Common/ENetUtil.cpp
index 3cdfbf8829..3bf524ea8b 100644
--- a/Source/Core/Common/ENetUtil.cpp
+++ b/Source/Core/Common/ENetUtil.cpp
@@ -6,7 +6,7 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
-namespace ENetUtil
+namespace Common::ENet
{
void WakeupThread(ENetHost* host)
{
@@ -62,4 +62,4 @@ bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id)
return true;
}
-} // namespace ENetUtil
+} // namespace Common::ENet
diff --git a/Source/Core/Common/ENetUtil.h b/Source/Core/Common/ENetUtil.h
index 5b06e5a007..a011e37057 100644
--- a/Source/Core/Common/ENetUtil.h
+++ b/Source/Core/Common/ENetUtil.h
@@ -9,9 +9,9 @@
#include "Common/CommonTypes.h"
-namespace ENetUtil
+namespace Common::ENet
{
void WakeupThread(ENetHost* host);
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id);
-} // namespace ENetUtil
+} // namespace Common::ENet