From 3ad64ae5fb82c75aaa4952e2925cd1e02cf0ebdc Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Tue, 26 Aug 2014 11:00:21 +0200 Subject: [PATCH] added constref to foreach loop --- kstyle/breezestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 2a1af1da..70d5076f 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -5767,7 +5767,7 @@ namespace Breeze }; // loop over supported buttons - foreach( const SubControl subControl, subControls ) + foreach( const SubControl& subControl, subControls ) { // skip if not requested