~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/generator/session.h

  • 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:
32
32
{
33
33
  session::Cache::list local_list;
34
34
  session::Cache::list::const_iterator iter;
35
 
  identifier::User::const_reference user;
 
35
  const identifier::User& user;
36
36
 
37
37
public:
38
38
 
39
 
  Session(identifier::User::const_reference arg) :
 
39
  Session(const identifier::User& arg) :
40
40
    user(arg)
41
41
  {
42
42
    boost::mutex::scoped_lock scopedLock(session::Cache::singleton().mutex());