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_hash_cxx.h')
-rw-r--r--source/blender/blenlib/BLI_hash_cxx.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_hash_cxx.h b/source/blender/blenlib/BLI_hash_cxx.h
index b9a53f29a04..78b8ee20b0c 100644
--- a/source/blender/blenlib/BLI_hash_cxx.h
+++ b/source/blender/blenlib/BLI_hash_cxx.h
@@ -14,6 +14,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __BLI_HASH_CXX_H__
+#define __BLI_HASH_CXX_H__
+
/** \file
* \ingroup bli
*
@@ -21,8 +24,6 @@
* used by containers such as Map and Set.
*/
-#pragma once
-
#include <functional>
#include <string>
#include <utility>
@@ -98,3 +99,5 @@ template<typename T1, typename T2> struct DefaultHash<std::pair<T1, T2>> {
};
} // namespace BLI
+
+#endif /* __BLI_HASH_CXX_H__ */