Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-13 14:12:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-13 14:12:43 +0300
commitf795bdbf21a9ae7a774137154a9458e15cff6cd8 (patch)
tree5ae2ac380a4a54391cfbfb8be8d18ea96723a52c /source/blender/blenlib/BLI_array_ref.h
parent9e60e860577f536841a8865cb5328b98895644e3 (diff)
Cleanup: use header guards
Diffstat (limited to 'source/blender/blenlib/BLI_array_ref.h')
-rw-r--r--source/blender/blenlib/BLI_array_ref.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_array_ref.h b/source/blender/blenlib/BLI_array_ref.h
index a771d1c1329..1373a0da355 100644
--- a/source/blender/blenlib/BLI_array_ref.h
+++ b/source/blender/blenlib/BLI_array_ref.h
@@ -14,6 +14,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_ARRAY_REF_H__
+#define __BLI_ARRAY_REF_H__
+
/** \file
* \ingroup bli
*
@@ -32,8 +35,6 @@
* Since array references do not own any memory, it is generally not save to store them.
*/
-#pragma once
-
#include <vector>
#include <array>
#include <algorithm>
@@ -421,3 +422,5 @@ template<typename T> ArrayRef<T> ref_c_array(const T *array, uint size)
}
} /* namespace BLI */
+
+#endif /* __BLI_ARRAY_REF_H__ */