Added direct accessor for plugins map
This commit is contained in:
parent
e125cbe4fe
commit
deb8f59b12
@ -55,6 +55,8 @@ namespace sc {
|
||||
|
||||
static size_t count() { return plugins.size(); }
|
||||
|
||||
static const std::map<std::string, plugin<T>>& all() { return plugins; }
|
||||
|
||||
plugin(const std::string& path) : _path {path} {
|
||||
_plugin = dlopen(path.c_str(), RTLD_LAZY);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user