Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-13 14:12:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-13 14:12:43 +0300
commitf795bdbf21a9ae7a774137154a9458e15cff6cd8 (patch)
tree5ae2ac380a4a54391cfbfb8be8d18ea96723a52c /source/blender/blenlib/BLI_open_addressing.h
parent9e60e860577f536841a8865cb5328b98895644e3 (diff)
Cleanup: use header guards
Diffstat (limited to 'source/blender/blenlib/BLI_open_addressing.h')
-rw-r--r--source/blender/blenlib/BLI_open_addressing.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_open_addressing.h b/source/blender/blenlib/BLI_open_addressing.h
index 32e89c19139..8ca5156a952 100644
--- a/source/blender/blenlib/BLI_open_addressing.h
+++ b/source/blender/blenlib/BLI_open_addressing.h
@@ -14,6 +14,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_OPEN_ADDRESSING_H__
+#define __BLI_OPEN_ADDRESSING_H__
+
/** \file
* \ingroup bli
*
@@ -28,8 +31,6 @@
* actual hash table implementation.
*/
-#pragma once
-
#include <cmath>
#include "BLI_utildefines.h"
@@ -300,3 +301,5 @@ class OpenAddressingArray {
};
} // namespace BLI
+
+#endif /* __BLI_OPEN_ADDRESSING_H__ */