diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-06-15 10:47:58 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-06-15 10:47:58 +0200 |
commit | 7d9b2ee5ae8db92f4e28296983d706593197239a (patch) | |
tree | 8df332c0769bd2bbf2f6cee536781e09aa68c63f /src/utils.cpp | |
parent | 56074a31dc8a8b2b4ef3e8b5592db27decd2acf5 (diff) | |
download | dabmux-7d9b2ee5ae8db92f4e28296983d706593197239a.tar.gz dabmux-7d9b2ee5ae8db92f4e28296983d706593197239a.tar.bz2 dabmux-7d9b2ee5ae8db92f4e28296983d706593197239a.zip |
Avoid a few copies in loops
Diffstat (limited to 'src/utils.cpp')
-rw-r--r-- | src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index ae56ef0..71e2b5c 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -548,7 +548,7 @@ void printEnsemble(const shared_ptr<dabEnsemble>& ensemble) printServices(ensemble->services); etiLog.log(info, "--- Components list ---"); - for (const auto component : ensemble->components) { + for (const auto& component : ensemble->components) { etiLog.level(info) << "Component " << component->get_rc_name(); printComponent(component, ensemble); } |