Loading libutils/include/utils/Debug.h +0 −10 Original line number Diff line number Diff line Loading @@ -32,16 +32,6 @@ template<> struct CompileTimeAssert<true> {}; #define COMPILE_TIME_ASSERT_FUNCTION_SCOPE(_exp) \ CompileTimeAssert<( _exp )>(); // --------------------------------------------------------------------------- #ifdef __cplusplus template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse; template<typename LHS, typename RHS> struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; }; template<typename LHS, typename RHS> struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; }; #endif // --------------------------------------------------------------------------- }; // namespace android Loading Loading
libutils/include/utils/Debug.h +0 −10 Original line number Diff line number Diff line Loading @@ -32,16 +32,6 @@ template<> struct CompileTimeAssert<true> {}; #define COMPILE_TIME_ASSERT_FUNCTION_SCOPE(_exp) \ CompileTimeAssert<( _exp )>(); // --------------------------------------------------------------------------- #ifdef __cplusplus template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse; template<typename LHS, typename RHS> struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; }; template<typename LHS, typename RHS> struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; }; #endif // --------------------------------------------------------------------------- }; // namespace android Loading