Przeglądaj źródła

Merge pull request #2401 from lioncash/guard

common/{lz4_compression, zstd_compression}: Add missing header guards
bunnei 7 lat temu
rodzic
commit
382fbbb198
2 zmienionych plików z 4 dodań i 0 usunięć
  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
 // Refer to the license.txt file included.
 
+#pragma once
+
 #include <vector>
 
 #include "common/common_types.h"

+ 2 - 0
src/common/zstd_compression.h

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