diff options
Diffstat (limited to 'source/blender/blenlib/BLI_stack_cxx.h')
-rw-r--r-- | source/blender/blenlib/BLI_stack_cxx.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_stack_cxx.h b/source/blender/blenlib/BLI_stack_cxx.h index 095f98608b7..4c9f2ed7d44 100644 --- a/source/blender/blenlib/BLI_stack_cxx.h +++ b/source/blender/blenlib/BLI_stack_cxx.h @@ -14,14 +14,15 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_STACK_CXX_H__ +#define __BLI_STACK_CXX_H__ + /** \file * \ingroup bli * * Basic stack implementation with support for small object optimization. */ -#pragma once - #include "BLI_vector.h" namespace BLI { @@ -140,3 +141,5 @@ template<typename T, uint N = 4, typename Allocator = GuardedAllocator> class St }; } /* namespace BLI */ + +#endif /* __BLI_STACK_CXX_H__ */ |