~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/ut/ut0wqueue.cc

  • 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:
33
33
ib_wqueue_create(void)
34
34
/*===================*/
35
35
{
36
 
        ib_wqueue_t*    wq = mem_alloc(sizeof(ib_wqueue_t));
 
36
        ib_wqueue_t*    wq = static_cast<ib_wqueue_t *>(mem_alloc(sizeof(ib_wqueue_t)));
37
37
 
38
38
        /* Function ib_wqueue_create() has not been used anywhere,
39
39
        not necessary to instrument this mutex */