summaryrefslogtreecommitdiff
path: root/Source/Core/Common/PcapFile.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-05-29 17:50:17 -0400
committerLioncash <mathew1800@gmail.com>2018-05-29 17:56:15 -0400
commit97c5a840dbe0912e81c7ad10bea1c35991095fb8 (patch)
treedc9c2193ecbc39a9988c224463c8bc7c3931af44 /Source/Core/Common/PcapFile.cpp
parent2beb135bdf502236139315de3d415f79d0598205 (diff)
PcapFile: Namespace code under the Common namespace
Brings more common code under the Common namespace.
Diffstat (limited to 'Source/Core/Common/PcapFile.cpp')
-rw-r--r--Source/Core/Common/PcapFile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/PcapFile.cpp b/Source/Core/Common/PcapFile.cpp
index 5ce626f279..0d9ce9a5a3 100644
--- a/Source/Core/Common/PcapFile.cpp
+++ b/Source/Core/Common/PcapFile.cpp
@@ -8,6 +8,8 @@
#include "Common/File.h"
#include "Common/PcapFile.h"
+namespace Common
+{
namespace
{
const u32 PCAP_MAGIC = 0xa1b2c3d4;
@@ -61,3 +63,4 @@ void PCAP::AddPacket(const u8* bytes, size_t size)
m_fp->WriteBytes(&rec_hdr, sizeof(rec_hdr));
m_fp->WriteBytes(bytes, size);
}
+} // namespace Common