diff options
Diffstat (limited to 'source/blender/blenlib/BLI_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_vector.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_vector.h b/source/blender/blenlib/BLI_vector.h index 1901f2a60ad..97357ecd384 100644 --- a/source/blender/blenlib/BLI_vector.h +++ b/source/blender/blenlib/BLI_vector.h @@ -14,6 +14,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_VECTOR_H__ +#define __BLI_VECTOR_H__ + /** \file * \ingroup bli * @@ -22,8 +25,6 @@ * performed. Instead, those elements are stored directly in the vector. */ -#pragma once - #include <algorithm> #include <cstdlib> #include <cstring> @@ -599,3 +600,5 @@ template<typename T, uint N = 4, typename Allocator = GuardedAllocator> class Ve template<typename T, uint N = 4> using TemporaryVector = Vector<T, N, TemporaryAllocator>; } /* namespace BLI */ + +#endif /* __BLI_VECTOR_H__ */ |