From 000796dc3d909f179fb6586fae7e9ce986440576 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 28 Jan 2017 16:14:08 +0100 Subject: Avoid uninitialised fields, modernise DabService::nbComponent --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cpp') diff --git a/src/utils.cpp b/src/utils.cpp index 4c08e8b..38e38ec 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -402,7 +402,7 @@ static void printLinking(const shared_ptr ensemble) } } -void printEnsemble(const shared_ptr ensemble) +void printEnsemble(const shared_ptr& ensemble) { etiLog.log(info, "Ensemble"); etiLog.log(info, " id: 0x%lx (%lu)", ensemble->id, ensemble->id); -- cgit v1.2.3