diff options
author | 2014-03-06 15:08:13 +0000 | |
---|---|---|
committer | 2014-03-06 15:08:14 +0000 | |
commit | 34c653204cf9f5655700c94df47852e7b59ff742 (patch) | |
tree | 29a8f95f549e3295e6234fdb5f0912ac575ccfde /native/jni/src/defines.h | |
parent | c29088846195dd413f086d9f7e602e185eebb995 (diff) | |
parent | cf612a3abfd0cc244f8449db2cf11a0a7c680a2f (diff) | |
download | latinime-34c653204cf9f5655700c94df47852e7b59ff742.tar.gz latinime-34c653204cf9f5655700c94df47852e7b59ff742.tar.xz latinime-34c653204cf9f5655700c94df47852e7b59ff742.zip |
Merge "Use std::min() and std::max()"
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r-- | native/jni/src/defines.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index 0715fbd70..4c57af0ba 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -344,9 +344,6 @@ static inline void prof_out(void) { #define MAX_POINTER_COUNT 1 #define MAX_POINTER_COUNT_G 2 -template<typename T> AK_FORCE_INLINE const T &min(const T &a, const T &b) { return a < b ? a : b; } -template<typename T> AK_FORCE_INLINE const T &max(const T &a, const T &b) { return a > b ? a : b; } - // DEBUG #define INPUTLENGTH_FOR_DEBUG (-1) #define MIN_OUTPUT_INDEX_FOR_DEBUG (-1) |