[Bf-blender-cvs] [0b2baaab1ae] functions: missing include guards

Jacques Lucke noreply at git.blender.org
Tue Mar 26 16:56:35 CET 2019


Commit: 0b2baaab1aef3c8863e619f7b5cb117a36eeeda4
Author: Jacques Lucke
Date:   Tue Mar 26 16:55:05 2019 +0100
Branches: functions
https://developer.blender.org/rB0b2baaab1aef3c8863e619f7b5cb117a36eeeda4

missing include guards

===================================================================

M	source/blender/blenlib/BLI_mempool.hpp
M	source/blender/blenlib/BLI_small_stack.hpp

===================================================================

diff --git a/source/blender/blenlib/BLI_mempool.hpp b/source/blender/blenlib/BLI_mempool.hpp
index f78bc6973db..ee81389daeb 100644
--- a/source/blender/blenlib/BLI_mempool.hpp
+++ b/source/blender/blenlib/BLI_mempool.hpp
@@ -1,3 +1,5 @@
+#pragma once
+
 #include "BLI_small_stack.hpp"
 
 namespace BLI {
diff --git a/source/blender/blenlib/BLI_small_stack.hpp b/source/blender/blenlib/BLI_small_stack.hpp
index 922b08e2fce..a36f39389cd 100644
--- a/source/blender/blenlib/BLI_small_stack.hpp
+++ b/source/blender/blenlib/BLI_small_stack.hpp
@@ -1,3 +1,5 @@
+#pragma once
+
 #include "BLI_small_vector.hpp"
 
 namespace BLI {



More information about the Bf-blender-cvs mailing list