diff options
author | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
commit | 28ea38ae5572d99598aa400fb62eb38f5f7ffd7b (patch) | |
tree | 29e703244d28f29c8634b2d30f42b34852fe74bc /src/core/alloc_type.hpp | |
parent | 86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff) | |
download | openttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.tar.xz |
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/core/alloc_type.hpp')
-rw-r--r-- | src/core/alloc_type.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/alloc_type.hpp b/src/core/alloc_type.hpp index cc549658f..a2bda93e4 100644 --- a/src/core/alloc_type.hpp +++ b/src/core/alloc_type.hpp @@ -41,7 +41,7 @@ struct SmallStackSafeStackAlloc { * Gets a pointer to the data stored in this wrapper. * @return the pointer. */ - FORCEINLINE operator T* () + FORCEINLINE operator T *() { return data; } @@ -50,7 +50,7 @@ struct SmallStackSafeStackAlloc { * Gets a pointer to the data stored in this wrapper. * @return the pointer. */ - FORCEINLINE T* operator -> () + FORCEINLINE T *operator -> () { return data; } @@ -60,7 +60,7 @@ struct SmallStackSafeStackAlloc { * @note needed because endof does not work properly for pointers. * @return the 'endof' pointer. */ - FORCEINLINE T* EndOf() + FORCEINLINE T *EndOf() { #if !defined(__NDS__) return endof(data); |