only warn if plugin has no declared name - to avoid warnings on double registration of valid plugins
This commit is contained in:
parent
742fb891e6
commit
9d4290f686
1 changed files with 2 additions and 2 deletions
|
@ -226,9 +226,9 @@ void datasource_cache::register_datasources(const std::string& str)
|
|||
#endif
|
||||
registered_=true;
|
||||
}
|
||||
else
|
||||
else if (!ds_name)
|
||||
{
|
||||
std::clog << "Problem loading plugin library '" << itr->path().string() << "' (plugin is lacking compatible interface" << std::endl;
|
||||
std::clog << "Problem loading plugin library '" << itr->path().string() << "' (plugin is lacking compatible interface)" << std::endl;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue