diff options
Diffstat (limited to 'source/blender/blenlib/BLI_set_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_set_vector.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_set_vector.h b/source/blender/blenlib/BLI_set_vector.h index 36e69e7e3cc..c0b99d568cc 100644 --- a/source/blender/blenlib/BLI_set_vector.h +++ b/source/blender/blenlib/BLI_set_vector.h @@ -14,6 +14,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_SET_VECTOR_H__ +#define __BLI_SET_VECTOR_H__ + /** \file * \ingroup bli * @@ -22,8 +25,6 @@ * there are no deletes. The expected time to check if a value is in the SetVector is O(1). */ -#pragma once - #include "BLI_hash_cxx.h" #include "BLI_open_addressing.h" #include "BLI_vector.h" @@ -374,3 +375,5 @@ template<typename T, typename Allocator = GuardedAllocator> class SetVector { #undef ITER_SLOTS_END } // namespace BLI + +#endif /* __BLI_SET_VECTOR_H__ */ |