diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-07 11:18:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-07 11:18:01 +0300 |
commit | 1b1129f82a9cf316b54fbc025f8cfcc1a74b8589 (patch) | |
tree | 6bdda3bbb458040675a31e2aa2115910574368bd /intern/ghost/intern/GHOST_EventNDOF.h | |
parent | 91694b9b58ab953f3b313be9389cc1303e472fc2 (diff) |
Code Style: use "#pragma once" in intern/ghost
More information can be found in D8466.
Diffstat (limited to 'intern/ghost/intern/GHOST_EventNDOF.h')
-rw-r--r-- | intern/ghost/intern/GHOST_EventNDOF.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_EventNDOF.h b/intern/ghost/intern/GHOST_EventNDOF.h index 196d3868ccd..64e67434b74 100644 --- a/intern/ghost/intern/GHOST_EventNDOF.h +++ b/intern/ghost/intern/GHOST_EventNDOF.h @@ -18,8 +18,7 @@ * \ingroup GHOST */ -#ifndef __GHOST_EVENTNDOF_H__ -#define __GHOST_EVENTNDOF_H__ +#pragma once #ifndef WITH_INPUT_NDOF # error NDOF code included in non-NDOF-enabled build @@ -50,5 +49,3 @@ class GHOST_EventNDOFButton : public GHOST_Event { m_data = &m_buttonData; } }; - -#endif // __GHOST_EVENTNDOF_H__ |