~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/plugin.cc

  • Committer: Monty Taylor
  • Date: 2010-11-25 01:53:19 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: mordred@inaugust.com-20101125015319-ia85msn25uemopgc
Re-enabled -Wformat and then cleaned up the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
namespace drizzled
25
25
{
26
26
 
27
 
plugin::Plugin::Plugin(const std::string &name, const std::string &type_name)
28
 
  : _name(name),
29
 
    _is_active(true),
30
 
    _module(NULL),
31
 
    _type_name(type_name)
 
27
plugin::Plugin::Plugin(std::string in_name, std::string in_type_name)
 
28
  : name(in_name),
 
29
    is_active(true),
 
30
    module(NULL),
 
31
    type_name(in_type_name)
32
32
{ }
33
33
 
34
34
const std::string& plugin::Plugin::getModuleName() const
35
35
{
36
 
  return _module->getName();
 
36
  return module->getName();
37
37
}
38
38
 
39
39
} /* namespace drizzled */