aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index 7ee15fd7..c2c01d1 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -772,7 +772,7 @@ template <typename T, typename U>
static void fill_clamp(T &dest, U src, typename T::value_type fallback) {
static_assert(std::is_unsigned<typename T::value_type>::value,
"Destination type must be unsigned.");
- using UU = typename std::make_unsigned<U>::type;
+ using UU = std::make_unsigned_t<U>;
constexpr auto T_max = std::numeric_limits<typename T::value_type>::max();
dest = src >= 0 && static_cast<UU>(src) <= T_max ? src : fallback;
}