~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:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2251.
  • Revision ID: olafvdspek@gmail.com-20110324001614-wvmgc6eg52oq2321
Remove const_reference and reference from Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    iter= local_list.begin();
45
45
  }
46
46
 
47
 
  operator drizzled::Session::pointer()
 
47
  operator drizzled::Session*()
48
48
  {
49
49
    while (iter != local_list.end())
50
50
    {
51
 
      drizzled::Session::pointer ret= iter->get();
 
51
      drizzled::Session* ret= iter->get();
52
52
      iter++;
53
53
 
54
54
      if (ret->isViewable(user))
55
55
              return ret;
56
56
    }
57
 
    return drizzled::Session::pointer();
 
57
    return NULL;
58
58
  }
59
59
};
60
60