diff options
| author | JosJuice <josjuice@gmail.com> | 2018-05-30 07:45:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-30 07:45:09 +0200 |
| commit | 6cb81ca851dfe5be51d9511ce47627fcddcc2bf9 (patch) | |
| tree | de32c03cb99d92282bf0a60e34b07973fdbf2926 /Source/Core/Common/PcapFile.cpp | |
| parent | 2f561dafd9e7dedfd3cecf933dac9edf79dc093e (diff) | |
| parent | 97c5a840dbe0912e81c7ad10bea1c35991095fb8 (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.cpp | 3 |
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 |
