diff options
author | Steven Moreland <smoreland@google.com> | 2017-12-18 15:51:40 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-12-18 15:52:50 -0800 |
commit | 8edb49060afe1b8169bceb1efa23806358be4d81 (patch) | |
tree | f4a2e90ce19f8c24d5b92177251e6f27e1644db6 /libutils/include | |
parent | 3fca67514a0634f1645db5d0a1030e42d061bf69 (diff) | |
download | system_core-8edb49060afe1b8169bceb1efa23806358be4d81.tar.gz system_core-8edb49060afe1b8169bceb1efa23806358be4d81.tar.bz2 system_core-8edb49060afe1b8169bceb1efa23806358be4d81.zip |
Remove CompileTimeIfElse.
- not used anywhere
- equivalent to std::conditional
Test: none
Bug: none
Change-Id: Iffc00acb899d5159359d60c09443c7d2d7fdf2a0
Diffstat (limited to 'libutils/include')
-rw-r--r-- | libutils/include/utils/Debug.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libutils/include/utils/Debug.h b/libutils/include/utils/Debug.h index 08893bdaa..c699a199d 100644 --- a/libutils/include/utils/Debug.h +++ b/libutils/include/utils/Debug.h @@ -33,16 +33,6 @@ template<> struct CompileTimeAssert<true> {}; 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 #endif // ANDROID_UTILS_DEBUG_H |