[Bf-blender-cvs] [dc59955481f] master: Cleanup: use 'pragma once'

Campbell Barton noreply at git.blender.org
Fri Jan 15 02:24:33 CET 2021


Commit: dc59955481f8e4ed585a18461062728ca6c885d3
Author: Campbell Barton
Date:   Fri Jan 15 09:25:28 2021 +1100
Branches: master
https://developer.blender.org/rBdc59955481f8e4ed585a18461062728ca6c885d3

Cleanup: use 'pragma once'

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

M	source/blender/blenlib/BLI_mmap.h

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

diff --git a/source/blender/blenlib/BLI_mmap.h b/source/blender/blenlib/BLI_mmap.h
index 385c56bd10a..4920152c9d1 100644
--- a/source/blender/blenlib/BLI_mmap.h
+++ b/source/blender/blenlib/BLI_mmap.h
@@ -17,8 +17,7 @@
  * All rights reserved.
  */
 
-#ifndef __BLI_MMAP_H__
-#define __BLI_MMAP_H__
+#pragma once
 
 /** \file
  * \ingroup bli
@@ -55,5 +54,3 @@ void BLI_mmap_free(BLI_mmap_file *file) ATTR_NONNULL(1);
 #ifdef __cplusplus
 }
 #endif
-
-#endif /* __BLI_MEMPOOL_H__ */



More information about the Bf-blender-cvs mailing list