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:
Diffstat (limited to 'source/blender/blenlib/BLI_index_range.h')
-rw-r--r--source/blender/blenlib/BLI_index_range.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_index_range.h b/source/blender/blenlib/BLI_index_range.h
index 96c3d22c4e5..a1fed5bd97c 100644
--- a/source/blender/blenlib/BLI_index_range.h
+++ b/source/blender/blenlib/BLI_index_range.h
@@ -14,6 +14,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_INDEX_RANGE_H__
+#define __BLI_INDEX_RANGE_H__
+
/** \file
* \ingroup bli
*
@@ -22,8 +25,6 @@
* cases, a separate data structure should be used.
*/
-#pragma once
-
#include <cmath>
#include <algorithm>
#include <iostream>
@@ -191,3 +192,5 @@ class IndexRange {
};
} // namespace BLI
+
+#endif /* __BLI_INDEX_RANGE_H__ */