summaryrefslogtreecommitdiff
path: root/Source/cmUuid.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-23 23:25:56 +0200
committerBrad King <brad.king@kitware.com>2019-09-03 13:21:26 -0400
commit62e5f722899cfa7c51791be7697c9030aee3a19b (patch)
treeafbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmUuid.cxx
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadcmake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmUuid.cxx')
-rw-r--r--Source/cmUuid.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUuid.cxx b/Source/cmUuid.cxx
index 0dc6ca7f37..91c8af3256 100644
--- a/Source/cmUuid.cxx
+++ b/Source/cmUuid.cxx
@@ -53,7 +53,7 @@ void cmUuid::CreateHashInput(std::vector<unsigned char> const& uuidNamespace,
std::string cmUuid::FromDigest(const unsigned char* digest,
unsigned char version) const
{
- typedef unsigned char byte_t;
+ using byte_t = unsigned char;
byte_t uuid[16] = { 0 };
memcpy(uuid, digest, 16);