aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2014-03-06 15:08:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-06 15:08:14 +0000
commit34c653204cf9f5655700c94df47852e7b59ff742 (patch)
tree29a8f95f549e3295e6234fdb5f0912ac575ccfde /native/jni/src/defines.h
parentc29088846195dd413f086d9f7e602e185eebb995 (diff)
parentcf612a3abfd0cc244f8449db2cf11a0a7c680a2f (diff)
downloadlatinime-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.h3
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)