зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1367674. P2 - remove unused code. r=gerald
MozReview-Commit-ID: 5OHWP5rpiff --HG-- extra : rebase_source : 723d07adf131912a73b81738b0b43e9d67673c6c
This commit is contained in:
Родитель
6f82ddffdf
Коммит
80a1b6063a
|
@ -71,30 +71,6 @@ struct MethodTrait : MethodTraitsHelper<typename RemoveReference<T>::Type>
|
|||
{
|
||||
};
|
||||
|
||||
template<typename ThisType, typename Ret, typename ArgType>
|
||||
static TrueType TakesArgumentHelper(Ret (ThisType::*)(ArgType));
|
||||
template<typename ThisType, typename Ret, typename ArgType>
|
||||
static TrueType TakesArgumentHelper(Ret (ThisType::*)(ArgType) const);
|
||||
template<typename ThisType, typename Ret>
|
||||
static FalseType TakesArgumentHelper(Ret (ThisType::*)());
|
||||
template<typename ThisType, typename Ret>
|
||||
static FalseType TakesArgumentHelper(Ret (ThisType::*)() const);
|
||||
|
||||
template<typename ThisType, typename Ret, typename ArgType>
|
||||
static Ret ReturnTypeHelper(Ret (ThisType::*)(ArgType));
|
||||
template<typename ThisType, typename Ret, typename ArgType>
|
||||
static Ret ReturnTypeHelper(Ret (ThisType::*)(ArgType) const);
|
||||
template<typename ThisType, typename Ret>
|
||||
static Ret ReturnTypeHelper(Ret (ThisType::*)());
|
||||
template<typename ThisType, typename Ret>
|
||||
static Ret ReturnTypeHelper(Ret (ThisType::*)() const);
|
||||
|
||||
template<typename MethodType>
|
||||
struct ReturnType
|
||||
{
|
||||
using Type = typename MethodTrait<MethodType>::ReturnType;
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
|
||||
template<typename MethodType>
|
||||
|
|
Загрузка…
Ссылка в новой задаче