summaryrefslogtreecommitdiff
path: root/Source/Core/Common/PcapFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-05-30 07:45:09 +0200
committerGitHub <noreply@github.com>2018-05-30 07:45:09 +0200
commit6cb81ca851dfe5be51d9511ce47627fcddcc2bf9 (patch)
treede32c03cb99d92282bf0a60e34b07973fdbf2926 /Source/Core/Common/PcapFile.cpp
parent2f561dafd9e7dedfd3cecf933dac9edf79dc093e (diff)
parent97c5a840dbe0912e81c7ad10bea1c35991095fb8 (diff)
Merge pull request #7015 from lioncash/pcap
PcapFile: Namespace 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