~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/registry.cc

  • Committer: Brian Aker
  • Date: 2011-02-27 19:43:52 UTC
  • mfrom: (2192.4.9 iter)
  • Revision ID: brian@tangent.org-20110227194352-w48j3ey8nhonecsd
MergeĀ inĀ find_ptr

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