aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregor Bollerhey <gbsoftware@arcor.de>2014-01-18 06:25:53 (GMT)
committerJan Sucan <jan@jansucan.com>2020-04-05 07:57:59 (GMT)
commitd5902f178546dcbe6d5e91f11a2a5dbb1a3a9078 (patch)
tree99c297fffd374702970ce47d8ebceec61301d4fe /src
parentd07ee244d3ee419a5bc35698e67abd07f746f808 (diff)
downloadfluxbox-d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078.zip
fluxbox-d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078.tar.bz2
Const ref instead of const for string vector.
Diffstat (limited to 'src')
-rw-r--r--src/SystemTray.cc6
1 files 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:
91 setEventMask(PropertyChangeMask); 91 setEventMask(PropertyChangeMask);
92 } 92 }
93 93
94 void pinByClassname(const std::vector<std::string> left, const std::vector<std::string> right); 94 void pinByClassname(const std::vector<std::string> &left, const std::vector<std::string> &right);
95 95
96 bool isVisible() { return m_visible; } 96 bool isVisible() { return m_visible; }
97 bool isXEmbedded() { return m_xembedded; } 97 bool isXEmbedded() { return m_xembedded; }
@@ -135,8 +135,8 @@ private:
135 bool m_xembedded; // using xembed protocol? (i.e. unmap when done) 135 bool m_xembedded; // using xembed protocol? (i.e. unmap when done)
136}; 136};
137 137
138void TrayWindow::pinByClassname(const std::vector<std::string> left, 138void TrayWindow::pinByClassname(const std::vector<std::string> &left,
139 const std::vector<std::string> right) { 139 const std::vector<std::string> &right) {
140 // based on the parsed order list and a given window sets m_order to 140 // based on the parsed order list and a given window sets m_order to
141 // an ordinal used to sort the tray icons. 141 // an ordinal used to sort the tray icons.
142 142