diff -r 1b984dab8cec -r 72d4c9314c72 src/core/sort_func.hpp --- a/src/core/sort_func.hpp Mon Jun 30 21:31:23 2008 +0000 +++ b/src/core/sort_func.hpp Wed Jul 09 13:32:13 2008 +0000 @@ -20,8 +20,8 @@ * @param comparator Function that compares two elements. * @param desc Sort descending. */ -template -FORCEINLINE void QSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false) +template +static FORCEINLINE void QSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false) { if (num < 2) return; @@ -44,8 +44,8 @@ * @param comparator Function that compares two elements. * @param desc Sort descending. */ -template -FORCEINLINE void GSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false) +template +static inline void GSortT(T *base, uint num, int (CDECL *comparator)(const T*, const T*), bool desc = false) { if (num < 2) return;