Fix buggy decay.

This commit is contained in:
jzmaddock
2015-01-22 09:17:40 +00:00
parent ea25faa853
commit 3c3071e4ef

View File

@ -33,7 +33,7 @@ namespace boost
private:
typedef typename remove_reference<T>::type Ty;
public:
typedef typename detail::decay_imp<T, boost::is_array<T>::value, boost::is_function<T>::value>::type type;
typedef typename detail::decay_imp<Ty, boost::is_array<Ty>::value, boost::is_function<Ty>::value>::type type;
};
} // namespace boost