Code Style: use "#pragma once" in some newer headers
Those were missing from the previous commit, because these headers only exist in the `master` and not in the `blender-v2.90-release` branch.
This commit is contained in:
parent
af88cc0701
commit
8198dbb888
|
@ -14,8 +14,7 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __BLI_MULTI_VALUE_MAP_HH__
|
||||
#define __BLI_MULTI_VALUE_MAP_HH__
|
||||
#pragma once
|
||||
|
||||
/** \file
|
||||
* \ingroup bli
|
||||
|
@ -130,5 +129,3 @@ template<typename Key, typename Value> class MultiValueMap {
|
|||
};
|
||||
|
||||
} // namespace blender
|
||||
|
||||
#endif /* __BLI_MULTI_VALUE_MAP_HH__ */
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __BLI_VECTOR_ADAPTOR_HH__
|
||||
#define __BLI_VECTOR_ADAPTOR_HH__
|
||||
#pragma once
|
||||
|
||||
/** \file
|
||||
* \ingroup bli
|
||||
|
@ -101,5 +100,3 @@ template<typename T> class VectorAdaptor {
|
|||
};
|
||||
|
||||
} // namespace blender
|
||||
|
||||
#endif /* __BLI_VECTOR_ADAPTOR_HH__ */
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __NOD_NODE_TREE_DEPENDENCIES_H__
|
||||
#define __NOD_NODE_TREE_DEPENDENCIES_H__
|
||||
#pragma once
|
||||
|
||||
#include "BLI_vector_set.hh"
|
||||
|
||||
|
@ -75,5 +74,3 @@ class NodeTreeDependencies {
|
|||
NodeTreeDependencies find_node_tree_dependencies(bNodeTree &ntree);
|
||||
|
||||
} // namespace blender::nodes
|
||||
|
||||
#endif /* __NOD_NODE_TREE_DEPENDENCIES_H__ */
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __SIM_PARTICLE_MESH_EMITTER_HH__
|
||||
#define __SIM_PARTICLE_MESH_EMITTER_HH__
|
||||
#pragma once
|
||||
|
||||
#include "simulation_solver_influences.hh"
|
||||
|
||||
|
@ -48,5 +47,3 @@ class ParticleMeshEmitter final : public ParticleEmitter {
|
|||
};
|
||||
|
||||
} // namespace blender::sim
|
||||
|
||||
#endif /* __SIM_PARTICLE_MESH_EMITTER_HH__ */
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __SIM_SIMULATION_SOLVER_INFLUENCES_HH__
|
||||
#define __SIM_SIMULATION_SOLVER_INFLUENCES_HH__
|
||||
#pragma once
|
||||
|
||||
#include "BLI_float3.hh"
|
||||
#include "BLI_float4x4.hh"
|
||||
|
@ -233,5 +232,3 @@ struct ParticleEventFilterContext {
|
|||
};
|
||||
|
||||
} // namespace blender::sim
|
||||
|
||||
#endif /* __SIM_SIMULATION_SOLVER_INFLUENCES_HH__ */
|
||||
|
|
Loading…
Reference in New Issue