all repos — fluxbox @ d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078

custom fork of the fluxbox windowmanager

Const ref instead of const for string vector.
Gregor Bollerhey gbsoftware@arcor.de
commit

d5902f178546dcbe6d5e91f11a2a5dbb1a3a9078

parent

d07ee244d3ee419a5bc35698e67abd07f746f808

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/SystemTray.ccsrc/SystemTray.cc

@@ -91,7 +91,7 @@ TrayWindow(Window win, bool using_xembed):FbTk::FbWindow(win), m_order(0), m_visible(false), m_xembedded(using_xembed) {

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 @@ bool m_visible;

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.