ソースを参照

common/{lz4_compression, zstd_compression}: Add missing header guards

These two files were missing the #pragma once directive.
Lioncash 7 年 前
コミット
4620ed47a3
2 ファイル変更4 行追加0 行削除
  1. 2 0
      src/common/lz4_compression.h
  2. 2 0
      src/common/zstd_compression.h

+ 2 - 0
src/common/lz4_compression.h

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
+#pragma once
+
 #include <vector>
 #include <vector>
 
 
 #include "common/common_types.h"
 #include "common/common_types.h"

+ 2 - 0
src/common/zstd_compression.h

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
+#pragma once
+
 #include <vector>
 #include <vector>
 
 
 #include "common/common_types.h"
 #include "common/common_types.h"