diff options
Diffstat (limited to 'source/blender/blenlib/BLI_string_map.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_map.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_string_map.h b/source/blender/blenlib/BLI_string_map.h index e7eb1e2635e..2daf192f0a7 100644 --- a/source/blender/blenlib/BLI_string_map.h +++ b/source/blender/blenlib/BLI_string_map.h @@ -14,6 +14,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_STRING_MAP_H__ +#define __BLI_STRING_MAP_H__ + /** \file * \ingroup bli * @@ -24,8 +27,6 @@ * make it more efficient later on. Also, even if we will never implement this optimization, having * a special map with string keys can be quite handy. */ -#pragma once - #include "BLI_map.h" #include "BLI_string_ref.h" #include "BLI_vector.h" @@ -418,3 +419,5 @@ template<typename T, typename Allocator = GuardedAllocator> class StringMap { #undef ITER_SLOTS_END } // namespace BLI + +#endif /* __BLI_STRING_MAP_H__ */ |