mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 19:17:34 +08:00
A minor style fix - typename instead of class in a template
This commit is contained in:
@@ -93,10 +93,10 @@ struct UAVCAN_EXPORT Select<false, TrueType, FalseType>
|
||||
/**
|
||||
* Remove reference as in <type_traits>
|
||||
*/
|
||||
template <class T> struct RemoveReference { typedef T Type; };
|
||||
template <class T> struct RemoveReference<T&> { typedef T Type; };
|
||||
template <typename T> struct RemoveReference { typedef T Type; };
|
||||
template <typename T> struct RemoveReference<T&> { typedef T Type; };
|
||||
#if UAVCAN_CPP_VERSION > UAVCAN_CPP03
|
||||
template <class T> struct RemoveReference<T&&> { typedef T Type; };
|
||||
template <typename T> struct RemoveReference<T&&> { typedef T Type; };
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user