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_listbase_wrapper.h')
-rw-r--r--source/blender/blenlib/BLI_listbase_wrapper.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_listbase_wrapper.h b/source/blender/blenlib/BLI_listbase_wrapper.h
index 90755d551b1..34197fe9c45 100644
--- a/source/blender/blenlib/BLI_listbase_wrapper.h
+++ b/source/blender/blenlib/BLI_listbase_wrapper.h
@@ -14,6 +14,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_LISTBASE_WRAPPER_H__
+#define __BLI_LISTBASE_WRAPPER_H__
+
/** \file
* \ingroup bli
*
@@ -21,8 +24,6 @@
* instances, that are used in many places in Blender.
*/
-#pragma once
-
#include "BLI_listbase.h"
#include "DNA_listBase.h"
@@ -95,3 +96,5 @@ template<typename T> class IntrusiveListBaseWrapper {
};
} /* namespace BLI */
+
+#endif /* __BLI_LISTBASE_WRAPPER_H__ */