summaryrefslogtreecommitdiff
path: root/src/sortlist_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
committerrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
commit11da45ee55957c243854cd78705d81543541c061 (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/sortlist_type.h
parentc3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff)
downloadopenttd-11da45ee55957c243854cd78705d81543541c061.tar.xz
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/sortlist_type.h')
-rw-r--r--src/sortlist_type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sortlist_type.h b/src/sortlist_type.h
index 9c0f6638e..bd1413140 100644
--- a/src/sortlist_type.h
+++ b/src/sortlist_type.h
@@ -33,10 +33,10 @@ public:
typedef int CDECL SortFunction(const T*, const T*);
protected:
- SortFunction* const *func_list; ///< The sort criteria functions
- SortListFlags flags; ///< used to control sorting/resorting/etc.
- uint8 sort_type; ///< what criteria to sort on
- uint16 resort_timer; ///< resort list after a given amount of ticks if set
+ SortFunction * const *func_list; ///< The sort criteria functions
+ SortListFlags flags; ///< used to control sorting/resorting/etc.
+ uint8 sort_type; ///< what criteria to sort on
+ uint16 resort_timer; ///< resort list after a given amount of ticks if set
/**
* Check if the list is sortable
@@ -207,7 +207,7 @@ public:
*
* @param n_funcs The pointer to the first sort func
*/
- void SetSortFuncs(SortFunction* const* n_funcs)
+ void SetSortFuncs(SortFunction * const *n_funcs)
{
this->func_list = n_funcs;
}