From a3bb7cbe649d9c718b65aded4c6b2445ff5d20d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 21 Oct 2020 21:26:09 +0200 Subject: Hold only a const version of Settings in ProcessList --- Vector.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Vector.h') diff --git a/Vector.h b/Vector.h index 3cff212c..70df3e4a 100644 --- a/Vector.h +++ b/Vector.h @@ -31,7 +31,10 @@ void Vector_delete(Vector* this); void Vector_prune(Vector* this); -void Vector_quickSort(Vector* this); +void Vector_quickSortCustomCompare(Vector* this, Object_Compare compare); +static inline void Vector_quickSort(Vector* this) { + Vector_quickSortCustomCompare(this, this->type->compare); +} void Vector_insertionSort(Vector* this); -- cgit v1.2.3