~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/authentication.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-24 00:03:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2251.
  • Revision ID: olafvdspek@gmail.com-20110324000305-p9tdkxd15wjhagjb
Remove const_reference and reference from identifier::User

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  }
65
65
};
66
66
 
67
 
bool plugin::Authentication::isAuthenticated(drizzled::identifier::User::const_reference sctx,
 
67
bool plugin::Authentication::isAuthenticated(const drizzled::identifier::User& sctx,
68
68
                                             const std::string &password)
69
69
{
70
70
  /* Use find_if instead of foreach so that we can collect return codes */