summaryrefslogtreecommitdiffstats
path: root/Source/cmUVHandlePtr.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-23 21:25:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-03 17:21:26 (GMT)
commit62e5f722899cfa7c51791be7697c9030aee3a19b (patch)
treeafbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmUVHandlePtr.h
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadCMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmUVHandlePtr.h')
-rw-r--r--Source/cmUVHandlePtr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUVHandlePtr.h b/Source/cmUVHandlePtr.h
index c09e4bf..3083b60 100644
--- a/Source/cmUVHandlePtr.h
+++ b/Source/cmUVHandlePtr.h
@@ -240,8 +240,8 @@ struct uv_tty_ptr : public uv_handle_ptr_<uv_tty_t>
int init(uv_loop_t& loop, int fd, int readable, void* data = nullptr);
};
-typedef uv_handle_ptr_<uv_stream_t> uv_stream_ptr;
-typedef uv_handle_ptr_<uv_handle_t> uv_handle_ptr;
+using uv_stream_ptr = uv_handle_ptr_<uv_stream_t>;
+using uv_handle_ptr = uv_handle_ptr_<uv_handle_t>;
#ifndef cmUVHandlePtr_cxx