diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-19 13:23:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-19 13:23:08 +0400 |
commit | 112b1a0779d0e570f8b6726b2d3deb4f45d784a5 (patch) | |
tree | 697b16d8d41fe0df37e14f509008bd19d7eedb80 /intern/ghost/GHOST_IEvent.h | |
parent | 03ed173fe6a9d286faacc2e66c5c654cd571f18c (diff) |
style cleanup: ghost headers
Diffstat (limited to 'intern/ghost/GHOST_IEvent.h')
-rw-r--r-- | intern/ghost/GHOST_IEvent.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/intern/ghost/GHOST_IEvent.h b/intern/ghost/GHOST_IEvent.h index 05bd3553e01..3c3111a2e6d 100644 --- a/intern/ghost/GHOST_IEvent.h +++ b/intern/ghost/GHOST_IEvent.h @@ -77,7 +77,7 @@ public: * or NULL if it is a 'system' event. * @return The generating window. */ - virtual GHOST_IWindow* getWindow() = 0; + virtual GHOST_IWindow *getWindow() = 0; /** * Returns the event data. @@ -87,8 +87,12 @@ public: #ifdef WITH_CXX_GUARDEDALLOC public: - void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GHOST:GHOST_IEvent"); } - void operator delete( void *mem ) { MEM_freeN(mem); } + void *operator new(size_t num_bytes) { + return MEM_mallocN(num_bytes, "GHOST:GHOST_IEvent"); + } + void operator delete(void *mem) { + MEM_freeN(mem); + } #endif }; |