diff options
Diffstat (limited to 'source/blender/blenlib/BLI_map.h')
-rw-r--r-- | source/blender/blenlib/BLI_map.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_map.h b/source/blender/blenlib/BLI_map.h index 8ee0624df19..a5358304c77 100644 --- a/source/blender/blenlib/BLI_map.h +++ b/source/blender/blenlib/BLI_map.h @@ -14,6 +14,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_MAP_H__ +#define __BLI_MAP_H__ + /** \file * \ingroup bli * @@ -23,8 +26,6 @@ * lookups. Keys and values are stored in groups of four to avoid wasting memory due to padding. */ -#pragma once - #include "BLI_hash_cxx.h" #include "BLI_array_ref.h" #include "BLI_open_addressing.h" @@ -619,3 +620,5 @@ template<typename KeyT, typename ValueT, typename Allocator = GuardedAllocator> #undef ITER_SLOTS_END } // namespace BLI + +#endif /* __BLI_MAP_H__ */ |