Codechange: Optionally allow passing state to GUIList sorter function.
GUIList sorter functions can currently only use global state, which makes per-window-instance sorting difficult.
This commit is contained in:

committed by
Peter Nelson

parent
4d9f335f36
commit
dcf730f1f6
@@ -41,7 +41,7 @@ struct SignList {
|
||||
/**
|
||||
* A GUIList contains signs and uses a StringFilter for filtering.
|
||||
*/
|
||||
typedef GUIList<const Sign *, StringFilter &> GUISignList;
|
||||
typedef GUIList<const Sign *, std::nullptr_t, StringFilter &> GUISignList;
|
||||
|
||||
GUISignList signs;
|
||||
|
||||
|
Reference in New Issue
Block a user