Changeset - r24268:f30a4ebe294b
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 4 years ago 2020-06-15 17:53:13
j.g.rennison@gmail.com
Codechange: Use template type for GUIList::Sort comparator
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/sortlist_type.h
Show inline comments
 
@@ -250,7 +250,8 @@ public:
 
	 * @return true if the list sequence has been altered
 
	 *
 
	 */
 
	bool Sort(SortFunction *compare)
 
	template <typename Comp>
 
	bool Sort(Comp compare)
 
	{
 
		/* Do not sort if the resort bit is not set */
 
		if (!(this->flags & VL_RESORT)) return false;
0 comments (0 inline, 0 general)