diff --git a/octa/type_traits.hh b/octa/type_traits.hh index 4466ba8..98f3fa4 100644 --- a/octa/type_traits.hh +++ b/octa/type_traits.hh @@ -843,9 +843,8 @@ using AddPointer = typename detail::AddPointerBase::Type; /* add lvalue reference */ namespace detail { - template struct AddLr { using Type = T &; }; - template struct AddLr { using Type = T &; }; - template struct AddLr { using Type = T &; }; + template struct AddLr { using Type = T &; }; + template struct AddLr { using Type = T &; }; template<> struct AddLr { using Type = void; }; @@ -863,9 +862,7 @@ namespace detail { /* add rvalue reference */ namespace detail { - template struct AddRr { using Type = T &&; }; - template struct AddRr { using Type = T &&; }; - template struct AddRr { using Type = T &&; }; + template struct AddRr { using Type = T &&; }; template<> struct AddRr { using Type = void; };