diff options
author | Gregor Bollerhey <gbsoftware@arcor.de> | 2014-01-18 06:25:53 (GMT) |
---|---|---|
committer | Jan Sucan <jan@jansucan.com> | 2020-04-05 07:57:59 (GMT) |
commit | d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078 (patch) | |
tree | 99c297fffd374702970ce47d8ebceec61301d4fe | |
parent | d07ee244d3ee419a5bc35698e67abd07f746f808 (diff) | |
download | fluxbox-d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078.zip fluxbox-d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078.tar.bz2 |
Const ref instead of const for string vector.
-rw-r--r-- | src/SystemTray.cc | 6 |
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 | ||
138 | void TrayWindow::pinByClassname(const std::vector<std::string> left, | 138 | void 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 | ||