Missed removing a typename for an update alias type.

This commit is contained in:
Kern Handa 2015-09-30 18:59:34 +00:00
parent 9f93179086
commit e35a91960b

View File

@ -128,7 +128,7 @@ template<class T, size_t N>
basic_string_view<T, dynamic_range> ensure_z(T(&sz)[N]) { return ensure_z(&sz[0], N); } basic_string_view<T, dynamic_range> ensure_z(T(&sz)[N]) { return ensure_z(&sz[0], N); }
template<class Cont> template<class Cont>
basic_string_view<typename std::remove_pointer_t<typename Cont::pointer>, dynamic_range> ensure_z(Cont& cont) basic_string_view<std::remove_pointer_t<typename Cont::pointer>, dynamic_range> ensure_z(Cont& cont)
{ {
return ensure_z(cont.data(), cont.length()); return ensure_z(cont.data(), cont.length());
} }