X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flib%2Fbuilder.cpp;fp=source%2Flib%2Fbuilder.cpp;h=f979d28f38ce35c6f01976cc5109886f83b50ab7;hb=ba5078a4334ef419aeb1949190a743a05037750c;hp=3379f2dcfebdea1e1f0d4533189d4480f71ba7ed;hpb=a8dd31308dfef6da930c261779d4e9ebfc2af838;p=builder.git diff --git a/source/lib/builder.cpp b/source/lib/builder.cpp index 3379f2d..f979d28 100644 --- a/source/lib/builder.cpp +++ b/source/lib/builder.cpp @@ -87,6 +87,11 @@ void Builder::load_plugins() } } + add_plugins(unordered_plugins); +} + +void Builder::add_plugins(vector &unordered_plugins) +{ auto have_plugin = [this](const string &r){ return any_of(plugins.begin(), plugins.end(), [&r](const LoadedPlugin &p){ return FS::basepart(FS::basename(p.path))==r; }); };