~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/loader.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 09:26:52 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323092652-d3e8lutxy8vu2frb
Remove std::nothrow from new()

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
    return true;
180
180
  }
181
181
 
182
 
  module::Module* tmp= new (std::nothrow) module::Module(manifest, library);
183
 
  if (tmp == NULL)
184
 
    return true;
 
182
  module::Module* tmp= new module::Module(manifest, library);
185
183
 
186
184
  if (!test_plugin_options(tmp_root, tmp, long_options))
187
185
  {