diff options
| author | Mistivia <i@mistivia.com> | 2025-12-28 20:41:05 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-12-28 20:41:05 +0800 |
| commit | b96da8398fdfb34e3ee35d00060291154481453c (patch) | |
| tree | 3ac5ae64590381c88fca192fe81cce6c5c6fdf6e /sort.h | |
| parent | 86f6498768bd40c029504cdd5e711aa567248cb4 (diff) | |
def as for tree map
Diffstat (limited to 'sort.h')
| -rw-r--r-- | sort.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ void T##_qsort(T* arr, int n); #define QSORT_IMPL(T) \ - void T##_qsort_swap(T* arr, int lhs, int rhs) { \ + static inline void T##_qsort_swap(T* arr, int lhs, int rhs) { \ if (lhs == rhs) return; \ T buf; \ buf = arr[lhs]; \ |
