Bug 1367674. P2 - remove unused code. r=gerald

MozReview-Commit-ID: 5OHWP5rpiff

--HG--
extra : rebase_source : 723d07adf131912a73b81738b0b43e9d67673c6c
This commit is contained in:
JW Wang 2017-05-25 15:42:35 +08:00
Родитель 6f82ddffdf
Коммит 80a1b6063a
1 изменённых файлов: 0 добавлений и 24 удалений

Просмотреть файл

@ -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>