diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 05:10:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:38:11 +0300 |
commit | fea1026bb8e2b5bfdf247491658c384805b51813 (patch) | |
tree | 5832a7cf88c0190a7f0f1933507dfaf8ca6965bb /source/blender/blenkernel | |
parent | dfbda59a66bf15827ed127e61c0cbb4de5563db6 (diff) |
Cleanup: use 'pragma once'
Add explanations for cases the header-guard defines are still used.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_asset.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_asset.h b/source/blender/blenkernel/BKE_asset.h index 38cd5747343..d1f543b1f38 100644 --- a/source/blender/blenkernel/BKE_asset.h +++ b/source/blender/blenkernel/BKE_asset.h @@ -14,13 +14,12 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __BKE_ASSET_H__ -#define __BKE_ASSET_H__ - /** \file * \ingroup bke */ +#pragma once + #include "BLI_utildefines.h" #ifdef __cplusplus @@ -55,5 +54,3 @@ void BKE_asset_metadata_read(struct BlendDataReader *reader, struct AssetMetaDat #ifdef __cplusplus } #endif - -#endif /* __BKE_ASSET_H__ */ |