(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user