~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/registry.cc

  • Committer: Stewart Smith
  • Date: 2011-03-03 07:00:26 UTC
  • mfrom: (2215 staging)
  • mto: (2241.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: stewart@flamingspork.com-20110303070026-0lqlcq74n566syro
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
  if (iter != library_registry_.end())
257
257
  {
258
258
    library_registry_.erase(iter);
259
 
    delete (*iter).second;
 
259
    delete iter->second;
260
260
  }
261
261
}
262
262
 
264
264
{
265
265
  LibraryMap::const_iterator iter= library_registry_.find(plugin_name);
266
266
  if (iter != library_registry_.end())
267
 
    return (*iter).second;
 
267
    return iter->second;
268
268
  return NULL;
269
269
}
270
270