bool Monitor::_allowed_command(MonSession *s, string &module, string &prefix,
const map<string,cmd_vartype>& cmdmap,
- const map<string,string> param_str_map,
+ const map<string,string>& param_str_map,
const MonCommand *this_cmd) {
bool cmd_r = (this_cmd->req_perms.find('r') != string::npos);
MonCommand *cmds, int cmds_size);
bool _allowed_command(MonSession *s, string &module, string &prefix,
const map<string,cmd_vartype>& cmdmap,
- const map<string,string> param_str_map,
+ const map<string,string>& param_str_map,
const MonCommand *this_cmd);
void _mon_status(Formatter *f, ostream& ss);
void _quorum_status(Formatter *f, ostream& ss);