Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8102094 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Remove CompileTimeIfElse."

am: 6d8aff5f

Change-Id: I0a23c1d7174098acc43de368bbb9e25785fb6222
parents 12400958 6d8aff5f
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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