ENGINES: Remove use of getEngineId() in MetaEngine subclasses

This commit is contained in:
Cameron Cawley 2022-01-05 16:16:41 +00:00 committed by Eugene Sandulenko
parent af04a879b8
commit a020300701
17 changed files with 18 additions and 30 deletions

View file

@ -57,7 +57,7 @@ const char *Plugin::getName() const {
const char *Plugin::getEngineId() const {
if (_type == PLUGIN_TYPE_ENGINE_DETECTION) {
return _pluginObject->getEngineId();
return get<MetaEngineDetection>().getEngineId();
}
return nullptr;