diff options
-rw-r--r-- | src/sortlist_type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sortlist_type.h b/src/sortlist_type.h index a8730d96d..e5bfe06a9 100644 --- a/src/sortlist_type.h +++ b/src/sortlist_type.h @@ -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; |