diff options
Diffstat (limited to 'source/blender/blenlib/BLI_array_cxx.h')
-rw-r--r-- | source/blender/blenlib/BLI_array_cxx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_array_cxx.h b/source/blender/blenlib/BLI_array_cxx.h index f48ba05842e..c7704e20fb1 100644 --- a/source/blender/blenlib/BLI_array_cxx.h +++ b/source/blender/blenlib/BLI_array_cxx.h @@ -13,6 +13,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_ARRAY_CXX_H__ +#define __BLI_ARRAY_CXX_H__ /** \file * \ingroup bli @@ -21,8 +23,6 @@ * a template argument. Instead it can be specified at the construction time. */ -#pragma once - #include "BLI_utildefines.h" #include "BLI_allocator.h" #include "BLI_array_ref.h" @@ -193,3 +193,5 @@ template<typename T, typename Allocator = GuardedAllocator> class Array { template<typename T> using TemporaryArray = Array<T, TemporaryAllocator>; } // namespace BLI + +#endif /* __BLI_ARRAY_CXX_H__ */ |