From d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078 Mon Sep 17 00:00:00 2001
From: Gregor Bollerhey <gbsoftware@arcor.de>
Date: Sat, 18 Jan 2014 07:25:53 +0100
Subject: Const ref instead of const for string vector.

---
 src/SystemTray.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index fb141d4..1953baa 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -91,7 +91,7 @@ public:
         setEventMask(PropertyChangeMask);
     }
 
-    void pinByClassname(const std::vector<std::string> left, const std::vector<std::string> right);
+    void pinByClassname(const std::vector<std::string> &left, const std::vector<std::string> &right);
 
     bool isVisible() { return m_visible; }
     bool isXEmbedded() { return m_xembedded; }
@@ -135,8 +135,8 @@ private:
     bool m_xembedded; // using xembed protocol? (i.e. unmap when done)
 };
 
-void TrayWindow::pinByClassname(const std::vector<std::string> left,
-        const std::vector<std::string> right) {
+void TrayWindow::pinByClassname(const std::vector<std::string> &left,
+        const std::vector<std::string> &right) {
     // based on the parsed order list and a given window sets m_order to
     // an ordinal used to sort the tray icons.
 
-- 
cgit v0.11.2