Moving component's CanonicalName() method into base class.

This commit is contained in:
Robin Sommer 2014-07-12 18:31:00 -07:00
parent 9616cd8e61
commit 6d9e261384
6 changed files with 10 additions and 20 deletions

View file

@ -12,7 +12,6 @@ Component::Component(const std::string& name, factory_callback arg_factory, Tag:
: plugin::Component(plugin::component::FILE_ANALYZER, name),
plugin::TaggedComponent<file_analysis::Tag>(subtype)
{
canon_name = canonify_name(name);
factory = arg_factory;
file_mgr->RegisterComponent(this, "ANALYZER_");