Răsfoiți Sursa

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

These two files were missing the #pragma once directive.
Lioncash 7 ani în urmă
părinte
comite
4620ed47a3
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  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"