~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleadmin.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-20 21:51:00 UTC
  • mto: (968.2.18 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: osullivan.padraig@gmail.com-20090320215100-j1ntr8tk8ejonmzn
Adding std:: prefix to find_if for Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
  int type= ADMIN_ERROR;
152
152
  string comp_string= lower_string(name);
153
153
  vector<const char *>::iterator it= 
154
 
    find_if(command_vector.begin(),
155
 
            command_vector.end(),
156
 
            CommandMatch< equal_to<string> >(comp_string));
 
154
    std::find_if(command_vector.begin(),
 
155
                 command_vector.end(),
 
156
                 CommandMatch< equal_to<string> >(comp_string));
157
157
  if (it != command_vector.end())
158
158
  {
159
159
    /* add 1 due to the way the commands ENUM is defined */