aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.cpp
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-07-26 20:14:54 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-08-03 12:23:02 +0200
commitc766aececf294ba629c23e0dfd62cee7a089d55d (patch)
treeb64506dc7ebefe0796e85e7a3f1d96c3bec5b2a7 /utils/rds-ctl/rds-ctl.cpp
parentf15993d59a3dfd173de112d1b16369e292ce3eaf (diff)
convert files to reference
Found with performance-unnecessary-value-param 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 f58c1fa2..cabfa538 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -299,7 +299,7 @@ static bool is_radio_dev(const char *name)
return !memcmp(name, "radio", 5);
}
-static void print_devices(dev_vec files)
+static void print_devices(const dev_vec& files)
{
dev_map cards;
int fd = -1;

Privacy Policy