Const ref instead of const for string vector.
This commit is contained in:
parent
d07ee244d3
commit
d5902f1785
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue