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/misc/binaryheap.hpp | |
parent | 86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff) | |
download | openttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.tar.xz |
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/misc/binaryheap.hpp')
-rw-r--r-- | src/misc/binaryheap.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc/binaryheap.hpp b/src/misc/binaryheap.hpp index f8a343724..ed5a44b71 100644 --- a/src/misc/binaryheap.hpp +++ b/src/misc/binaryheap.hpp @@ -5,9 +5,9 @@ #ifndef BINARYHEAP_HPP #define BINARYHEAP_HPP -//void* operator new (size_t size, void* p) {return p;} +//void *operator new (size_t size, void *p) {return p;} #if defined(_MSC_VER) && (_MSC_VER >= 1400) -//void operator delete (void* p, void* p2) {} +//void operator delete (void *p, void *p2) {} #endif @@ -36,7 +36,7 @@ public: private: int m_size; ///< Number of items in the heap int m_max_size; ///< Maximum number of items the heap can hold - ItemPtr* m_items; ///< The heap item pointers + ItemPtr *m_items; ///< The heap item pointers public: explicit CBinaryHeapT(int max_items = 102400) |