aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.hh
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-11-02 17:33:41 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-01-04 06:55:44 (GMT)
commit5d56046b68635cea2c187e59a9d8c514e2d6bdb2 (patch)
tree5e165e1932d17f0b1514152a49ab327f1637a615 /src/FocusableList.hh
parent85596c1ee215cd1c8ddff6118ef1bad130dde909 (diff)
downloadfluxbox_paul-5d56046b68635cea2c187e59a9d8c514e2d6bdb2.zip
fluxbox_paul-5d56046b68635cea2c187e59a9d8c514e2d6bdb2.tar.bz2
FocusableList.cc,.hh: Pass string arguments by const reference.
Found by cppcheck
Diffstat (limited to 'src/FocusableList.hh')
-rw-r--r--src/FocusableList.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FocusableList.hh b/src/FocusableList.hh
index a56fdbd..88bba44 100644
--- a/src/FocusableList.hh
+++ b/src/FocusableList.hh
@@ -49,9 +49,9 @@ public:
49 }; 49 };
50 50
51 FocusableList(BScreen &scr): m_pat(0), m_parent(0), m_screen(scr) { } 51 FocusableList(BScreen &scr): m_pat(0), m_parent(0), m_screen(scr) { }
52 FocusableList(BScreen &scr, const std::string pat); 52 FocusableList(BScreen &scr, const std::string & pat);
53 FocusableList(BScreen &scr, const FocusableList &parent, 53 FocusableList(BScreen &scr, const FocusableList &parent,
54 const std::string pat); 54 const std::string & pat);
55 55
56 static void parseArgs(const std::string &in, int &opts, std::string &out); 56 static void parseArgs(const std::string &in, int &opts, std::string &out);
57 static const FocusableList *getListFromOptions(BScreen &scr, int opts); 57 static const FocusableList *getListFromOptions(BScreen &scr, int opts);