diff --git a/types/traits.hpp b/types/traits.hpp index 0ca8b96d..738522a6 100644 --- a/types/traits.hpp +++ b/types/traits.hpp @@ -189,15 +189,17 @@ struct remove_member_const { //----------------------------------------------------------------------------- -template -struct remove_noexcept { - using type = ResultT(ClassT::*)(Args...); +template +struct remove_member_const { + using type = ReturnT(ClassT::*const)(Args...); }; //----------------------------------------------------------------------------- -template -using remove_noexcept_t = typename remove_noexcept::type; +template +struct remove_member_const { + using type = ReturnT(ClassT::*)(Args...); +}; ///////////////////////////////////////////////////////////////////////////////