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:
Diffstat (limited to 'source/blender/blenlib/BLI_set.h')
-rw-r--r--source/blender/blenlib/BLI_set.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_set.h b/source/blender/blenlib/BLI_set.h
index 33b02badf48..feb0574338e 100644
--- a/source/blender/blenlib/BLI_set.h
+++ b/source/blender/blenlib/BLI_set.h
@@ -14,14 +14,15 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_SET_H__
+#define __BLI_SET_H__
+
/** \file
* \ingroup bli
*
* This file provides a set implementation that uses open addressing with probing.
*/
-#pragma once
-
#include "BLI_hash_cxx.h"
#include "BLI_open_addressing.h"
#include "BLI_vector.h"
@@ -468,3 +469,5 @@ template<typename T, typename Allocator = GuardedAllocator> class Set {
#undef ITER_SLOTS_END
} // namespace BLI
+
+#endif /* __BLI_SET_H__ */