diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-07 11:10:37 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-07 11:10:37 +0300 |
commit | 8198dbb888856b8c11757586df02aca15f132f90 (patch) | |
tree | 4f45fa32597bd0baece7f334182e5371e926af7d /source/blender/blenlib | |
parent | af88cc0701c8562a4b594075e4603b7176e117ba (diff) |
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.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_multi_value_map.hh | 5 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_vector_adaptor.hh | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/blenlib/BLI_multi_value_map.hh b/source/blender/blenlib/BLI_multi_value_map.hh index c20c4ef9677..018f080e633 100644 --- a/source/blender/blenlib/BLI_multi_value_map.hh +++ b/source/blender/blenlib/BLI_multi_value_map.hh @@ -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__ */ diff --git a/source/blender/blenlib/BLI_vector_adaptor.hh b/source/blender/blenlib/BLI_vector_adaptor.hh index cadffc0b445..9c805f242e4 100644 --- a/source/blender/blenlib/BLI_vector_adaptor.hh +++ b/source/blender/blenlib/BLI_vector_adaptor.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__ */ |