From 640e5478862e3b83d85db6332e0d82a45a95e4ed Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sun, 22 Jun 2008 15:21:51 +0000 Subject: (svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead) --- src/core/sort_func.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/sort_func.hpp') diff --git a/src/core/sort_func.hpp b/src/core/sort_func.hpp index 826fa278d..0ccd92a73 100644 --- a/src/core/sort_func.hpp +++ b/src/core/sort_func.hpp @@ -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 @@ FORCEINLINE void QSortT(T *base, uint num, int (CDECL *comparator)(const T*, con * @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; -- cgit v1.2.3-54-g00ecf