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/editors/include | |
parent | dfbda59a66bf15827ed127e61c0cbb4de5563db6 (diff) |
Cleanup: use 'pragma once'
Add explanations for cases the header-guard defines are still used.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_asset.h | 5 | ||||
-rw-r--r-- | source/blender/editors/include/ED_geometry.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/editors/include/ED_asset.h b/source/blender/editors/include/ED_asset.h index 6fe50528cc5..dd505167fe5 100644 --- a/source/blender/editors/include/ED_asset.h +++ b/source/blender/editors/include/ED_asset.h @@ -18,8 +18,7 @@ * \ingroup editors */ -#ifndef __ED_ASSET_H__ -#define __ED_ASSET_H__ +#pragma once #ifdef __cplusplus extern "C" { @@ -35,5 +34,3 @@ void ED_operatortypes_asset(void); #ifdef __cplusplus } #endif - -#endif /* __ED_ASSET_H__ */ diff --git a/source/blender/editors/include/ED_geometry.h b/source/blender/editors/include/ED_geometry.h index 53eeba39088..d74fd15aaa7 100644 --- a/source/blender/editors/include/ED_geometry.h +++ b/source/blender/editors/include/ED_geometry.h @@ -21,8 +21,7 @@ * \ingroup editors */ -#ifndef __ED_GEOMETRY_H__ -#define __ED_GEOMETRY_H__ +#pragma once #ifdef __cplusplus extern "C" { @@ -33,5 +32,3 @@ void ED_operatortypes_geometry(void); #ifdef __cplusplus } #endif - -#endif /* __ED_GEOMETRY_H__ */ |