aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/half_positive.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__algorithm/half_positive.h')
-rw-r--r--libcxx/include/__algorithm/half_positive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__algorithm/half_positive.h b/libcxx/include/__algorithm/half_positive.h
index 7666ef1449c6..74aede2b5668 100644
--- a/libcxx/include/__algorithm/half_positive.h
+++ b/libcxx/include/__algorithm/half_positive.h
@@ -29,7 +29,7 @@ typename enable_if
>::type
__half_positive(_Integral __value)
{
- return static_cast<_Integral>(static_cast<typename make_unsigned<_Integral>::type>(__value) / 2);
+ return static_cast<_Integral>(static_cast<__make_unsigned_t<_Integral> >(__value) / 2);
}
template <typename _Tp>