Просмотр исходного кода

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

These two files were missing the #pragma once directive.
Lioncash 7 лет назад
Родитель
Сommit
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
 // 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"