aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.cpp
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-04-20 14:10:58 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-04-21 08:38:52 +0200
commit1d808f1cdd9719ecea219e113096a8d9b87c0d14 (patch)
tree859e556c3ea18d94e19af1940116efd7d10dfc7b /utils/rds-ctl/rds-ctl.cpp
parentbafe32e7386be8ec108d55fc663c6bdcb4eec28a (diff)
clang-tidy: use using instead of typedef
Found with modernize-use-using Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/rds-ctl/rds-ctl.cpp')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 994fc9c4..e2718282 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -29,7 +29,7 @@
#define ARRAY_SIZE(arr) ((int)(sizeof(arr) / sizeof((arr)[0])))
-typedef std::vector<std::string> dev_vec;
+using dev_vec = std::vector<std::string>;
using dev_map = std::map<std::string, std::string>;
/* Short option list

Privacy Policy