Skip to content

Commit

Permalink
mds/ScrubHeader.h: pass string by const reference
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Jarzabek <[email protected]>
  • Loading branch information
stiopaa1 committed Nov 10, 2016
1 parent ee5a43c commit 1b266ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mds/ScrubHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CInode;
*/
class ScrubHeader {
public:
ScrubHeader(std::string tag_, bool force_, bool recursive_,
ScrubHeader(const std::string &tag_, bool force_, bool recursive_,
bool repair_, Formatter *f_)
: tag(tag_), force(force_), recursive(recursive_), repair(repair_),
formatter(f_), origin(nullptr)
Expand Down

0 comments on commit 1b266ee

Please sign in to comment.