Explorar o código

Merge pull request #2401 from lioncash/guard

common/{lz4_compression, zstd_compression}: Add missing header guards
bunnei %!s(int64=7) %!d(string=hai) anos
pai
achega
382fbbb198
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  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"