From dca37bd17fa7fef179847287855c4c324dc90bbc Mon Sep 17 00:00:00 2001 From: Christos Houtouridis Date: Wed, 24 Oct 2018 22:27:09 +0300 Subject: [PATCH] com: i2c object rename to indicate interface --- include/utl/com/i2c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utl/com/i2c.h b/include/utl/com/i2c.h index 321380d..37b541d 100644 --- a/include/utl/com/i2c.h +++ b/include/utl/com/i2c.h @@ -239,7 +239,7 @@ namespace utl { {t.write(0, s)} -> bool; }; #else - namespace i2c_t_cnpt { + namespace i2c_i_cnpt { using std::declval; template using try_cfreq_t = decltype (declval().frequency()); @@ -275,7 +275,7 @@ namespace utl { * \return True if _Tp is a i2c interface */ template - constexpr bool i2c_c = i2c_t_cnpt::is_i2c_<_Tp>::value; + constexpr bool i2c_c = i2c_i_cnpt::is_i2c_<_Tp>::value; #endif //!@}