From 97c5a840dbe0912e81c7ad10bea1c35991095fb8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 May 2018 17:50:17 -0400 Subject: PcapFile: Namespace code under the Common namespace Brings more common code under the Common namespace. --- Source/Core/Common/PcapFile.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/Common/PcapFile.cpp') 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 -- cgit v1.2.3