From 0c6ce610e0a4a1d62f9364d2fc6a86bace487336 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Fri, 26 Mar 2021 09:30:58 +0100 Subject: [PATCH] clang tidy fixes --- examples/iot-dashboard/MenuBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/iot-dashboard/MenuBar.cpp b/examples/iot-dashboard/MenuBar.cpp index 455e1b92..065e40b1 100644 --- a/examples/iot-dashboard/MenuBar.cpp +++ b/examples/iot-dashboard/MenuBar.cpp @@ -79,7 +79,7 @@ MenuBar::MenuBar( QQuickItem *parent ) : QskLinearBox( Qt::Vertical, parent ) m_entryStrings = { "Dashboard", "Rooms", "Devices", "Statistics", "Storage", "Members" }; - for( const auto entryString : m_entryStrings ) + for( const auto &entryString : m_entryStrings ) { auto* entry = new MenuItem( entryString, this ); m_entries.append(entry);