(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.

This commit is contained in:
rubidium
2007-02-19 21:11:44 +00:00
parent 75006ed3be
commit af18972b7a
3 changed files with 5 additions and 48 deletions

View File

@@ -18,14 +18,11 @@
#undef max
#endif
/* Objective C don't like templates */
#ifdef __cplusplus
template <typename T>
static inline T max(T a, T b)
{
return a >= b ? a : b;
}
#endif
static inline int min(int a, int b) { if (a <= b) return a; return b; }